actually wait for boardd to start

old-commit-hash: 6e70baa306
commatwo_master
Adeeb Shihadeh 4 years ago
parent 2f3ae6ba78
commit 2e946df700
  1. 2
      selfdrive/boardd/tests/test_boardd_loopback.py

@ -41,7 +41,7 @@ def test_boardd_loopback():
with Timeout(60, "boardd didn't start"): with Timeout(60, "boardd didn't start"):
sm = messaging.SubMaster(['health']) sm = messaging.SubMaster(['health'])
while sm.rcv_frame['health'] < 0: while sm.rcv_frame['health'] < 1:
sm.update(1000) sm.update(1000)
# boardd blocks on CarVin and CarParams # boardd blocks on CarVin and CarParams

Loading…
Cancel
Save