We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b569ce7 commit 89bd1e1Copy full SHA for 89bd1e1
tests/test_loop.py
@@ -220,7 +220,7 @@ def test_loop_ping_timeout(self):
220
mqtt_client._sock = mocket
221
222
start = time.monotonic()
223
- res = mqtt_client.loop(timeout=2 * keep_alive_timeout)
+ res = mqtt_client.loop(timeout=2 * keep_alive_timeout + recv_timeout)
224
assert time.monotonic() - start >= 2 * keep_alive_timeout
225
assert len(mocket.sent) > 0
226
# assert len(res) == 2
0 commit comments