onroad test fixes (#23164)

old-commit-hash: 2f78cfcbfd
commatwo_master
Adeeb Shihadeh 3 years ago committed by GitHub
parent 916c2ed588
commit 3de0f112c0
  1. 5
      selfdrive/test/test_onroad.py

@ -26,7 +26,7 @@ PROCS = {
"./loggerd": 45.0,
"./locationd": 9.1,
"selfdrive.controls.plannerd": 22.6,
"./_ui": 15.0,
"./_ui": 20.0,
"selfdrive.locationd.paramsd": 9.1,
"./camerad": 7.07,
"./_sensord": 6.17,
@ -175,6 +175,9 @@ class TestOnroad(unittest.TestCase):
cls.segments = sorted(segs, key=lambda s: int(str(s).rsplit('--')[-1]))
time.sleep(2)
# chop off last, incomplete segment
cls.segments = cls.segments[:-1]
finally:
proc.terminate()
if proc.wait(60) is None:

Loading…
Cancel
Save