# HG changeset patch # User Alain Mazy # Date 1730966897 -3600 # Node ID 96e3516b0bb670c899a8273554155a689528a201 # Parent 6ef1f8066adbdec307d23ee80c4a6eb9ba2e755a fix pg downgrade tests diff -r 6ef1f8066adb -r 96e3516b0bb6 NewTests/PostgresUpgrades/orthanc-for-integ-tests.json --- 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": [], diff -r 6ef1f8066adb -r 96e3516b0bb6 Tests/Tests.py --- 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']))