onroad test fixes (#23164)

pull/23167/head
Adeeb Shihadeh 4 years ago committed by GitHub
parent 5f36b48199
commit 2f78cfcbfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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