From fb0d099362086c99beaa08e9b8b5934a0534d1c5 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Mon, 9 Aug 2021 19:25:16 +0200 Subject: [PATCH] Revert "test_onroad: increase driverState timing to avoid random failures" This reverts commit aa89bb727ecc3f12e29e5e7f75b3c54cc89b9cb7. --- selfdrive/test/test_onroad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/test/test_onroad.py b/selfdrive/test/test_onroad.py index ecdf35407..4347b071f 100755 --- a/selfdrive/test/test_onroad.py +++ b/selfdrive/test/test_onroad.py @@ -157,7 +157,7 @@ class TestOnroad(unittest.TestCase): def test_model_timings(self): #TODO this went up when plannerd cpu usage increased, why? - cfgs = [("modelV2", 0.035, 0.03), ("driverState", 0.03, 0.025)] + cfgs = [("modelV2", 0.035, 0.03), ("driverState", 0.025, 0.021)] for (s, instant_max, avg_max) in cfgs: ts = [getattr(getattr(m, s), "modelExecutionTime") for m in self.lr if m.which() == s] self.assertLess(min(ts), instant_max, f"high '{s}' execution time: {min(ts)}")