# HG changeset patch # User Alain Mazy # Date 1738927445 -3600 # Node ID d08518883f2fa44f4c28b42c71166819db85fd76 # Parent 1d5f89f6b7000d020b965556ea39fa5f11d08764 fix pg downgrade tests diff -r 1d5f89f6b700 -r d08518883f2f NewTests/PostgresUpgrades/test_pg_upgrades.py --- a/NewTests/PostgresUpgrades/test_pg_upgrades.py Tue Feb 04 17:59:45 2025 +0100 +++ b/NewTests/PostgresUpgrades/test_pg_upgrades.py Fri Feb 07 12:24:05 2025 +0100 @@ -135,6 +135,10 @@ self.assertEqual(0, int(o.get_json('statistics')['TotalDiskSize'])) print("run the integration tests after a downgrade") + # first create the containers (orthanc-tests + orthanc-pg-15-6rev3-for-integ-tests) so they know each other + subprocess.run(["docker", "compose", "create", "orthanc-tests"], check=True) + + subprocess.run(["docker", "compose", "up", "orthanc-pg-15-6rev3-for-integ-tests", "-d"], check=True) o = OrthancApiClient("http://localhost:8053", user="alice", pwd="orthanctest") o.wait_started()