ci: fix test_onroad (#34016)

fix
This commit is contained in:
Maxime Desroches
2024-11-13 12:02:17 -08:00
committed by GitHub
parent 31cd290cbf
commit 4948f910f0
+1 -1
View File
@@ -402,7 +402,7 @@ class TestOnroad:
errors.append("❌ FAILED MAX/MIN TIMING CHECK ❌")
if (np.std(ts)/dt) > rsd:
errors.append("❌ FAILED RSD TIMING CHECK ❌")
passed = not errors
passed = not errors and passed
rows.append([s, *(np.array([np.max(ts), np.min(ts), np.mean(ts), dt])*1e3), np.std(ts)/dt, rsd, "\n".join(errors) or ""])
print(tabulate(rows, header, tablefmt="simple_grid", stralign="center", numalign="center", floatfmt=".2f"))