From 07c989a305adc7d2266b16e063c9643bac9f2203 Mon Sep 17 00:00:00 2001 From: Stefan Allius Date: Mon, 2 Dec 2024 23:11:30 +0100 Subject: [PATCH] increase mqtt timeout to 10s --- app/tests/test_mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tests/test_mqtt.py b/app/tests/test_mqtt.py index b85d746..91acd02 100644 --- a/app/tests/test_mqtt.py +++ b/app/tests/test_mqtt.py @@ -82,7 +82,7 @@ def test_native_client(test_hostname, test_port): on_connect = threading.Event() c.on_connect = Mock(side_effect=lambda *_: on_connect.set()) c.connect_async(test_hostname, test_port) - assert on_connect.wait(5) + assert on_connect.wait(10) finally: c.loop_stop()