Skip to content

Commit

Permalink
sensord: test update for provisioning (commaai#29942)
Browse files Browse the repository at this point in the history
sensord: update for provisioning
  • Loading branch information
adeebshihadeh authored Sep 16, 2023
1 parent ef50b4f commit ccc8e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/sensord/tests/test_sensord.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ccc8e09

Please sign in to comment.