diff --git a/tests/cmd/monitor.py b/tests/cmd/monitor.py index 93c337c..722f9dc 100755 --- a/tests/cmd/monitor.py +++ b/tests/cmd/monitor.py @@ -273,8 +273,8 @@ 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.1) - except (asyncio.TimeoutError, asyncio.CancelledError): # pragma: no cover + await asyncio.sleep(0.2) + except (asyncio.TimeoutError, asyncio.CancelledError, GeneratorExit): # pragma: no cover pass finally: _logger.info("STOPPING THE NODES...")