Revert "test_onroad: increase driverState timing to avoid random failures"

This reverts commit aa89bb727e.
pull/21890/head
Willem Melching 2021-08-09 19:25:16 +02:00
parent 3a7959b5ff
commit fb0d099362
1 changed files with 1 additions and 1 deletions

View File

@ -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)}")