From 7fc7874804fac6a19d711fa54eb009e81493001f Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 28 Oct 2024 15:22:11 -0700 Subject: [PATCH] test_pandad: adjust startup time --- selfdrive/pandad/tests/test_pandad.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/pandad/tests/test_pandad.py b/selfdrive/pandad/tests/test_pandad.py index 467c7f04c9..213678193f 100644 --- a/selfdrive/pandad/tests/test_pandad.py +++ b/selfdrive/pandad/tests/test_pandad.py @@ -103,9 +103,8 @@ class TestPandad: # 5s for USB (due to enumeration) # - 0.2s pandad -> pandad # - plus some buffer - assert 0.1 < (sum(ts)/len(ts)) < (0.5 if self.spi else 5.0) print("startup times", ts, sum(ts) / len(ts)) - + assert 0.1 < (sum(ts)/len(ts)) < (0.7 if self.spi else 5.0) def test_protocol_version_check(self): if not self.spi: