Skip to content

Commit

Permalink
ci: fix test_onroad (#34016)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
maxime-desroches authored Nov 13, 2024
1 parent 31cd290 commit 4948f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/test/test_onroad.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def test_timings(self):
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"))
Expand Down

0 comments on commit 4948f91

Please sign in to comment.