From 181abb29fdbd539aa76aa129e17bf27405b0931b Mon Sep 17 00:00:00 2001 From: natalia Date: Mon, 17 Jun 2024 14:02:34 +0200 Subject: [PATCH] tests: wait 1m before retry --- tests/integration/test_forward_auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_forward_auth.py b/tests/integration/test_forward_auth.py index 04b6c93d..0c100298 100644 --- a/tests/integration/test_forward_auth.py +++ b/tests/integration/test_forward_auth.py @@ -11,7 +11,7 @@ from lightkube import Client from lightkube.resources.core_v1 import ConfigMap from pytest_operator.plugin import OpsTest -from tenacity import retry, stop_after_attempt, wait_exponential +from tenacity import retry, stop_after_attempt, wait_exponential, wait_fixed from tests.integration.conftest import deploy_traefik_if_not_deployed @@ -76,7 +76,7 @@ async def test_deployment(ops_test: OpsTest, traefik_charm, forward_auth_tester_ @retry( - wait=wait_exponential(multiplier=3, min=1, max=20), + wait=wait_fixed(60), stop=stop_after_attempt(20), reraise=True, )