From ccc8e099b6e3457cc3a4e263491d1bfc92e8c897 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Fri, 15 Sep 2023 18:50:43 -0700 Subject: [PATCH] sensord: test update for provisioning (#29942) sensord: update for provisioning --- system/sensord/tests/test_sensord.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/sensord/tests/test_sensord.py b/system/sensord/tests/test_sensord.py index ccdce3b4e5..dbe28ab9db 100755 --- a/system/sensord/tests/test_sensord.py +++ b/system/sensord/tests/test_sensord.py @@ -81,7 +81,7 @@ def read_sensor_events(duration_sec): socks[stype] = messaging.sub_sock(stype, poller=poller, timeout=100) # wait for sensors to come up - with Timeout(60, "sensors didn't come up"): + with Timeout(int(os.environ.get("SENSOR_WAIT", "5")), "sensors didn't come up"): while len(poller.poll(250)) == 0: pass time.sleep(1)