changeset 600:58384ae69f41

added docker pull to avoid timeout
author Alain Mazy <am@osimis.io>
date Fri, 19 Jan 2024 09:15:57 +0100
parents f3475c3e42e5
children 3e15e950c462
files NewTests/PostgresUpgrades/test_pg_upgrades.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NewTests/PostgresUpgrades/test_pg_upgrades.py	Thu Jan 18 17:46:54 2024 +0100
+++ b/NewTests/PostgresUpgrades/test_pg_upgrades.py	Fri Jan 19 09:15:57 2024 +0100
@@ -54,6 +54,9 @@
 
     def test_upgrades_downgrades_with_pg_15(self):
 
+        print("Pullling container")
+        subprocess.run(["docker", "compose", "pull"], check=True)
+
         print("Launching PG-15 server")
         subprocess.run(["docker", "compose", "up", "pg-15", "-d"], check=True)
         wait_container_healthy("pg-15")