FPv2 timing unit test: halve runs (#28540)

Update test_fw_fingerprint.py
pull/28542/head
Shane Smiskol 2 years ago committed by GitHub
parent 572a221a86
commit 6c619561ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/car/tests/test_fw_fingerprint.py

@ -192,7 +192,7 @@ class TestFwFingerprintTiming(unittest.TestCase):
if not len(multi_panda_requests) and num_pandas > 1:
raise unittest.SkipTest("No multi-panda FW queries")
avg_time = self._benchmark(brand, num_pandas, 10)
avg_time = self._benchmark(brand, num_pandas, 5)
total_time += avg_time
self._assert_timing(avg_time, brand_ref_times[num_pandas][brand], tol)
print(f'{brand=}, {num_pandas=}, {len(config.requests)=}, avg FW query time={avg_time} seconds')

Loading…
Cancel
Save