From 893e59c75a4554b0cf990ca6885cd9148f4e8ca8 Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Thu, 14 Nov 2024 11:32:29 +0100 Subject: [PATCH] Revert wait for container startup time and increase wait for openwrt startup time --- test/tests/openwrt_docker_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tests/openwrt_docker_test.py b/test/tests/openwrt_docker_test.py index 705543a..2e164e2 100644 --- a/test/tests/openwrt_docker_test.py +++ b/test/tests/openwrt_docker_test.py @@ -212,7 +212,7 @@ def is_container_running(): def wait_for_container_startup(docker_services): try: docker_services.wait_until_responsive( - timeout=360.0, pause=1, check=lambda: is_container_running() + timeout=90.0, pause=1, check=lambda: is_container_running() ) except Exception as excinfo: print(get_logs()) @@ -221,7 +221,7 @@ def wait_for_container_startup(docker_services): def wait_for_openwrt_startup(docker_services): try: docker_services.wait_until_responsive( - timeout=90.0, pause=1, check=lambda: is_openwrt_booted() + timeout=360.0, pause=1, check=lambda: is_openwrt_booted() ) except Exception as excinfo: print(get_logs())