From 72e33f07de7defb094b92e6263b14966c805a467 Mon Sep 17 00:00:00 2001 From: Hubert Deng Date: Mon, 30 Dec 2024 13:06:12 -0800 Subject: [PATCH] chore: Bump healthcheck timeout to 45 seconds (#190) * bump healthcheck timeout to 45 seconds --- devservices/constants.py | 2 +- tests/commands/test_up.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/devservices/constants.py b/devservices/constants.py index b61b6eb..01eb7c6 100644 --- a/devservices/constants.py +++ b/devservices/constants.py @@ -37,5 +37,5 @@ DEVSERVICES_CACHE_DIR, "latest_version.txt" ) DEVSERVICES_LATEST_VERSION_CACHE_TTL = timedelta(minutes=15) -HEALTHCHECK_TIMEOUT = 30 +HEALTHCHECK_TIMEOUT = 45 HEALTHCHECK_INTERVAL = 5 diff --git a/tests/commands/test_up.py b/tests/commands/test_up.py index 745e9c9..9223e33 100644 --- a/tests/commands/test_up.py +++ b/tests/commands/test_up.py @@ -457,7 +457,7 @@ def test_up_docker_compose_container_healthcheck_failed( assert "Starting clickhouse" in captured.out.strip() assert "Starting redis" in captured.out.strip() assert ( - "Container container1 did not become healthy within 30 seconds." + "Container container1 did not become healthy within 45 seconds." in captured.out.strip() )