From 37e0985f6822c3911c9d558a45eee31d8b1f22a2 Mon Sep 17 00:00:00 2001 From: Marius Grossu Date: Thu, 14 Nov 2024 09:15:09 +0100 Subject: [PATCH] Increase timeouts postgress --- bci_tester/data.py | 6 ++++++ tests/test_postgres.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bci_tester/data.py b/bci_tester/data.py index 90887fe1..cb4ea7ad 100755 --- a/bci_tester/data.py +++ b/bci_tester/data.py @@ -727,6 +727,12 @@ def create_BCI( available_versions=pg_versions, forwarded_ports=[PortForwarding(container_port=5432)], extra_environment_variables={"POSTGRES_PASSWORD": POSTGRES_PASSWORD}, + # FIXME: https://github.com/SUSE/BCI-tests/issues/647 + healthcheck_timeout=( + timedelta(minutes=4) + if LOCALHOST.system_info.arch == "ppc64le" + else None + ), ) for pg_ver, pg_versions in ( (14, ["tumbleweed"]), diff --git a/tests/test_postgres.py b/tests/test_postgres.py index d9de8391..df5519d5 100644 --- a/tests/test_postgres.py +++ b/tests/test_postgres.py @@ -70,7 +70,7 @@ def _generate_test_matrix() -> List[ParameterSet]: ), # https://github.com/SUSE/BCI-tests/issues/647 healthcheck_timeout=( - timedelta(minutes=3) + timedelta(minutes=4) if LOCALHOST.system_info.arch == "ppc64le" else None ),