From 19ab52b767f42447bc31824f54783b7bc24cea49 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Wed, 4 Oct 2023 14:58:02 +0000 Subject: [PATCH] Increase number of retires for wait_for_traefik Recent test runs have shown that the current number of retries is not enough and traefik has still not updated its config. This PR increases the number of retries in the hope that it will be enough. --- zaza/openstack/charm_tests/tempest/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zaza/openstack/charm_tests/tempest/tests.py b/zaza/openstack/charm_tests/tempest/tests.py index 3bf9696..e3dbf1b 100644 --- a/zaza/openstack/charm_tests/tempest/tests.py +++ b/zaza/openstack/charm_tests/tempest/tests.py @@ -186,7 +186,7 @@ class TempestTestScaleK8SBase(TempestTestBase): assert len(dead_units) == dead_count @tenacity.retry(wait=tenacity.wait_exponential(multiplier=1, max=60), - reraise=True, stop=tenacity.stop_after_attempt(8)) + reraise=True, stop=tenacity.stop_after_attempt(20)) def wait_for_traefik(self, application_name): """Wait for traefk to finish processing lb changes.""" logging.warning(