changeset 623:3bb4b2589030

fix PG test upgrades
author Alain Mazy <am@osimis.io>
date Wed, 07 Feb 2024 11:43:32 +0100
parents 75dbc81d0e26
children 543e372d2265
files NewTests/PostgresUpgrades/docker-entrypoint-integ-tests.sh NewTests/PostgresUpgrades/downgrade.sh NewTests/PostgresUpgrades/run-integ-tests-from-docker.sh NewTests/PostgresUpgrades/test_pg_upgrades.py NewTests/PostgresUpgrades/wait-for-it.sh
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/NewTests/PostgresUpgrades/test_pg_upgrades.py	Wed Feb 07 09:32:39 2024 +0100
+++ b/NewTests/PostgresUpgrades/test_pg_upgrades.py	Wed Feb 07 11:43:32 2024 +0100
@@ -116,12 +116,11 @@
         subprocess.run(["docker", "compose", "stop", "orthanc-pg-15-under-tests"], check=True)
         time.sleep(2)
 
-        print("Downgrading Orthanc DB to v6.1")
+        print("Downgrading Orthanc DB to Rev1")
         subprocess.run(["docker", "exec", "pg-15", "./scripts/downgrade.sh"], check=True)
         time.sleep(2)
 
-        print("Downgrading Orthanc DB to v6.1")
-        print("Launching previous Orthanc (DB v6.1)")
+        print("Launching previous Orthanc (DB Rev1)")
         subprocess.run(["docker", "compose", "up", "orthanc-pg-15-61", "-d"], check=True)
 
         o = OrthancApiClient("http://localhost:8052")