Skip to content

Commit

Permalink
tests: wait 1m before retry
Browse files Browse the repository at this point in the history
  • Loading branch information
natalian98 committed Jul 15, 2024
1 parent 90b209c commit 181abb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_forward_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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,
)
Expand Down

0 comments on commit 181abb2

Please sign in to comment.