increase mqtt timeout to 10s
This commit is contained in:
@@ -82,7 +82,7 @@ def test_native_client(test_hostname, test_port):
|
|||||||
on_connect = threading.Event()
|
on_connect = threading.Event()
|
||||||
c.on_connect = Mock(side_effect=lambda *_: on_connect.set())
|
c.on_connect = Mock(side_effect=lambda *_: on_connect.set())
|
||||||
c.connect_async(test_hostname, test_port)
|
c.connect_async(test_hostname, test_port)
|
||||||
assert on_connect.wait(5)
|
assert on_connect.wait(10)
|
||||||
finally:
|
finally:
|
||||||
c.loop_stop()
|
c.loop_stop()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user