From 820ca41f1aaad113ffb8c7996193252c99efe3df Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 24 Aug 2023 04:24:22 -0700 Subject: [PATCH] car interfaces test: don't sleep (#29589) don't sleep in test_car_interfaces old-commit-hash: e38ce6087fe56068de40dbbc57944ddf68b8642c --- selfdrive/car/tests/test_car_interfaces.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/selfdrive/car/tests/test_car_interfaces.py b/selfdrive/car/tests/test_car_interfaces.py index a447fc21b6..d9da048288 100755 --- a/selfdrive/car/tests/test_car_interfaces.py +++ b/selfdrive/car/tests/test_car_interfaces.py @@ -1,4 +1,5 @@ #!/usr/bin/env python3 +import os import math import unittest import hypothesis.strategies as st @@ -41,6 +42,10 @@ def get_fuzzy_car_interface_args(draw: DrawType) -> dict: class TestCarInterfaces(unittest.TestCase): + @classmethod + def setUpClass(cls): + os.environ['NO_RADAR_SLEEP'] = '1' + @parameterized.expand([(car,) for car in sorted(all_known_cars())]) @settings(max_examples=5) @given(data=st.data())