From 7edab65dd1ac1ce5f8069dbecb3e7964113e8053 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Mon, 22 Jan 2024 19:49:34 +0200 Subject: [PATCH] Avoid CPU starvation in the monitor test --- tests/cmd/monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cmd/monitor.py b/tests/cmd/monitor.py index 29314b3..93c337c 100755 --- a/tests/cmd/monitor.py +++ b/tests/cmd/monitor.py @@ -273,7 +273,7 @@ def instantiate(info: NodeInfo, node_id: int, mode: int, health: int, vssc: int) await reg_client_a.call(uavcan.register.List_1.Request(i % 11)) if i % 5 == 0: await reg_client_b.call(uavcan.register.List_1.Request(i % 11)) - await asyncio.sleep(0.01) + await asyncio.sleep(0.1) except (asyncio.TimeoutError, asyncio.CancelledError): # pragma: no cover pass finally: