We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b7e4ab commit 9be40ddCopy full SHA for 9be40dd
server/tests/test_e2e.py
@@ -14,7 +14,7 @@
14
15
LOG: logging.Logger = logging.getLogger(__name__)
16
17
-MAX_WAIT_ATTEMPTS = 25
+MAX_WAIT_SECONDS = 60
18
19
20
def fullSetupDockerCompose() -> DockerCompose:
@@ -72,7 +72,7 @@ def test_smoke(self) -> None:
72
def wait_for_sync(self, cf_client):
73
seconds_to_wait = 1
74
total_seconds_waited = 0
75
- for _ in range(MAX_WAIT_ATTEMPTS):
+ while total_seconds_waited < MAX_WAIT_SECONDS:
76
try:
77
channels = cf_client.find(name="*")
78
LOG.info(
@@ -86,4 +86,4 @@ def wait_for_sync(self, cf_client):
86
LOG.error(e)
87
time.sleep(seconds_to_wait)
88
total_seconds_waited += seconds_to_wait
89
- seconds_to_wait *= 2
+ seconds_to_wait += 2
0 commit comments