From 28d26d440fba8f2bef13d566aadef2fe598934d1 Mon Sep 17 00:00:00 2001 From: Vincent Date: Thu, 18 Jan 2024 18:23:51 +0100 Subject: [PATCH] CI test --- data_warehouse/tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_warehouse/tests/conftest.py b/data_warehouse/tests/conftest.py index 88a8ea93b3..11f0542f6b 100644 --- a/data_warehouse/tests/conftest.py +++ b/data_warehouse/tests/conftest.py @@ -60,7 +60,7 @@ def wait_for_data_warehous_and_migrations( # Migrate test data elapsed_time = 0 - while migrations_in_progress and elapsed_time < timeout: + while (migrations_in_progress or elapsed_time < 10) and elapsed_time < timeout: print(f"Waiting for test data migrations ({elapsed_time}/{timeout})") running_containers = list( itertools.chain.from_iterable([c["Names"] for c in client.containers()])