From 9b9a2d7b89e03fe2af38f64380fc6ee2be2baa19 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 30 Jun 2021 19:02:21 -0700 Subject: [PATCH] increase dmonitoringmodeld execution time threshold --- 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 c152fc8644..cce0151637 100755 --- a/selfdrive/test/test_onroad.py +++ b/selfdrive/test/test_onroad.py @@ -154,7 +154,7 @@ class TestOnroad(unittest.TestCase): self.assertTrue(cpu_ok) def test_model_timings(self): - cfgs = [("modelV2", 0.035, 0.03), ("driverState", 0.022, 0.018)] + cfgs = [("modelV2", 0.035, 0.03), ("driverState", 0.022, 0.020)] 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)}")