From 3de0f112c051bae1ea8153a391a062fa40d450d7 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 7 Dec 2021 21:02:17 -0800 Subject: [PATCH] onroad test fixes (#23164) old-commit-hash: 2f78cfcbfdc616b185d6923d182bd1c732f769fe --- selfdrive/test/test_onroad.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selfdrive/test/test_onroad.py b/selfdrive/test/test_onroad.py index d342919eee..bc44aa3ea1 100755 --- a/selfdrive/test/test_onroad.py +++ b/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: