mirror of https://github.com/commaai/panda.git
Wifi saturation test: allow 15 instead of 20 to avoid false positive failures
This commit is contained in:
parent
5e3458df72
commit
c4311a7fee
|
@ -34,7 +34,7 @@ def test_udp_doesnt_drop(serial=None):
|
|||
sys.stdout.flush()
|
||||
else:
|
||||
print("UDP WIFI loopback %d messages at speed %d, comp speed is %.2f, percent %.2f" % (msg_count, speed, comp_kbps, saturation_pct))
|
||||
assert_greater(saturation_pct, 20) #sometimes the wifi can be slow...
|
||||
assert_greater(saturation_pct, 15) #sometimes the wifi can be slow...
|
||||
assert_less(saturation_pct, 100)
|
||||
saturation_pcts.append(saturation_pct)
|
||||
if len(saturation_pcts) > 0:
|
||||
|
|
Loading…
Reference in New Issue