Mercurial > hg > orthanc-tests
changeset 738:96e3516b0bb6 find-refactoring
fix pg downgrade tests
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Thu, 07 Nov 2024 09:08:17 +0100 |
parents | 6ef1f8066adb |
children | e2cc7f8d9131 |
files | NewTests/PostgresUpgrades/orthanc-for-integ-tests.json Tests/Tests.py |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/NewTests/PostgresUpgrades/orthanc-for-integ-tests.json Wed Nov 06 08:51:39 2024 +0100 +++ b/NewTests/PostgresUpgrades/orthanc-for-integ-tests.json Thu Nov 07 09:08:17 2024 +0100 @@ -114,8 +114,8 @@ "IngestTranscodingOfCompressed": true, "IngestTranscodingOfUncompressed": true, "JobsHistorySize": 1000, - "LimitFindInstances": 0, - "LimitFindResults": 0, + "LimitFindInstances": 20, + "LimitFindResults": 10, "LoadPrivateDictionary": true, "LogExportedResources": true, "LuaScripts": [],
--- a/Tests/Tests.py Wed Nov 06 08:51:39 2024 +0100 +++ b/Tests/Tests.py Thu Nov 07 09:08:17 2024 +0100 @@ -10727,7 +10727,7 @@ if IsOrthancVersionAbove(_REMOTE, 1, 12, 4): # the old syntax is still required for the upgrade/downgrade PG tests a = DoGet(_REMOTE, '/instances/%s?requested-tags=0008,0056' % instance) else: - a = DoGet(_REMOTE, '/instances/%s?RequestedTags=0008,0056' % instance) + a = DoGet(_REMOTE, '/instances/%s?requestedTags=0008,0056' % instance) self.assertEqual(1, len(a['RequestedTags'])) self.assertEqual('ONLINE', a['RequestedTags']['InstanceAvailability']) @@ -10735,7 +10735,7 @@ if IsOrthancVersionAbove(_REMOTE, 1, 12, 4): a = DoGet(_REMOTE, '/series/%s?requested-tags=0020,1209' % series) else: - a = DoGet(_REMOTE, '/series/%s?RequestedTags=0020,1209' % series) + a = DoGet(_REMOTE, '/series/%s?requestedTags=0020,1209' % series) self.assertEqual(1, len(a['RequestedTags'])) self.assertEqual(2, int(a['RequestedTags']['NumberOfSeriesRelatedInstances']))