From 9767ba18536d29eed8ca445535fd2081617c31d8 Mon Sep 17 00:00:00 2001 From: cthuang Date: Thu, 18 Mar 2021 08:28:38 +0000 Subject: [PATCH] TUN-4096: Reduce tunnel not connected assertion backoff to address flaky termination tests --- component-tests/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component-tests/util.py b/component-tests/util.py index 32023bf4..e52e4230 100644 --- a/component-tests/util.py +++ b/component-tests/util.py @@ -63,7 +63,7 @@ def wait_tunnel_ready(tunnel_url=None, require_min_connections=1): send_request(s, tunnel_url, True) -@retry(stop_max_attempt_number=MAX_RETRIES, wait_fixed=BACKOFF_SECS * 1000) +@retry(stop_max_attempt_number=MAX_RETRIES * BACKOFF_SECS, wait_fixed=1000) def check_tunnel_not_connected(): url = f'http://localhost:{METRICS_PORT}/ready'