From 67a6ffbf314f7790242357707819f05a8342785d Mon Sep 17 00:00:00 2001 From: Mauro Ezequiel Moltrasio Date: Thu, 25 Jun 2026 12:52:32 +0200 Subject: [PATCH] fix(tests): retry fact health_check more times After adding some more test platforms through #760, some tests have started failing with the claim that fact failed to start. Upon reviewing the logs it turns out fact sometimes take slightly longer to start, so increasing the number of times we retry the health_check endpoint should be enough to mitigate this flake. --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index c4cbb4e0..e366f9cf 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -224,7 +224,7 @@ def fact( container_log = os.path.join(logs_dir, 'fact.log') # Wait for container to be ready - for _ in range(3): + for _ in range(10): try: resp = requests.get( f'http://{config["endpoint"]["address"]}/health_check'