diff --git a/tests/test_recv_timeout.py b/tests/test_recv_timeout.py index 099a504..646028e 100644 --- a/tests/test_recv_timeout.py +++ b/tests/test_recv_timeout.py @@ -46,7 +46,7 @@ def test_recv_timeout_vs_keepalive(self) -> None: mqtt_client.ping() now = time.monotonic() - assert recv_timeout <= (now - start) <= (keep_alive + 0.2) + assert recv_timeout <= (now - start) <= (keep_alive + 0.3) if __name__ == "__main__":