ci: fix test_onroad (#34016)

fix
pull/34017/head
Maxime Desroches 5 months ago committed by GitHub
parent 31cd290cbf
commit 4948f910f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/test/test_onroad.py

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

Loading…
Cancel
Save