From e4e9c5fe7ccc87e3b60fbaaa82f7969f6c5c7f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Tue, 7 Jan 2025 14:28:44 -0300 Subject: [PATCH] Fix test --- tests/test_command_engineering_mode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_command_engineering_mode.py b/tests/test_command_engineering_mode.py index 827b653..17d1c95 100644 --- a/tests/test_command_engineering_mode.py +++ b/tests/test_command_engineering_mode.py @@ -53,12 +53,12 @@ async def test_command_engineering_mode_no_mock(actor: ECPActor): async def test_command_engineering_mode_timeouts(actor: ECPActor): actor._engineering_mode_hearbeat_interval = 0.1 # To speed up the test - cmd = await actor.invoke_mock_command("engineering-mode enable --timeout 0.2") + cmd = await actor.invoke_mock_command("engineering-mode enable --timeout 1") await cmd assert actor.is_engineering_mode_enabled() is True - await asyncio.sleep(0.3) + await asyncio.sleep(0.8) assert actor.is_engineering_mode_enabled() is False