Skip to content

Commit 485fb4c

Browse files
committed
bump the tolerance for keep alive value to 0.3s
1 parent 57ed4f0 commit 485fb4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_recv_timeout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_recv_timeout_vs_keepalive(self) -> None:
4646
mqtt_client.ping()
4747

4848
now = time.monotonic()
49-
assert recv_timeout <= (now - start) <= (keep_alive + 0.2)
49+
assert recv_timeout <= (now - start) <= (keep_alive + 0.3)
5050

5151

5252
if __name__ == "__main__":

0 commit comments

Comments
 (0)