FPv2 timing unit test: halve runs (#28540)

Update test_fw_fingerprint.py
old-commit-hash: 6c619561ee7fc45ba8abb10bc37ec027fab0ba88
This commit is contained in:
Shane Smiskol
2023-06-13 21:26:31 -07:00
committed by GitHub
parent 4120ee014d
commit 8464cdf3ec

View File

@@ -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')