From 4355336032738577d9484f82eae60fbcc3859fde Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 5 Feb 2024 09:04:26 -0500 Subject: [PATCH] Increase number of retries on websocket in YAML test harness. (#31893) We seem to be hitting the 4-retry cap a lot. The question is whether waiting an extra few seconds would help or not. Co-authored-by: Andrei Litvin --- .../py_matter_yamltests/matter_yamltests/websocket_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/py_matter_yamltests/matter_yamltests/websocket_runner.py b/scripts/py_matter_yamltests/matter_yamltests/websocket_runner.py index c63554ecf064b0..34b1ba17e68734 100644 --- a/scripts/py_matter_yamltests/matter_yamltests/websocket_runner.py +++ b/scripts/py_matter_yamltests/matter_yamltests/websocket_runner.py @@ -70,7 +70,7 @@ async def execute(self, request): return await instance.recv() return None - async def _start_client(self, url, max_retries=4, interval_between_retries=1): + async def _start_client(self, url, max_retries=5, interval_between_retries=1): if max_retries: start = time.time() try: