Skip to content

Commit

Permalink
Avoid CPU starvation in the monitor test
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-kirienko committed Jan 22, 2024
1 parent 4ec113f commit 7edab65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cmd/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7edab65

Please sign in to comment.