mirror of https://github.com/commaai/panda.git
Normal to have REC and TEC counters > 0, but less than threshould
This commit is contained in:
parent
7babe4cf6f
commit
6309bb8a6a
|
@ -187,8 +187,10 @@ def func_fixture_panda(request, module_panda):
|
|||
for i in range(3):
|
||||
can_health = p.can_health(i)
|
||||
assert can_health['bus_off_cnt'] == 0
|
||||
assert can_health['receive_error_cnt'] == 0
|
||||
assert can_health['transmit_error_cnt'] == 0
|
||||
assert can_health['receive_error_cnt'] < 127
|
||||
assert can_health['transmit_error_cnt'] < 255
|
||||
assert can_health['error_passive'] == 0
|
||||
assert can_health['error_warning'] == 0
|
||||
assert can_health['total_rx_lost_cnt'] == 0
|
||||
assert can_health['total_tx_lost_cnt'] == 0
|
||||
assert can_health['total_error_cnt'] == 0
|
||||
|
|
Loading…
Reference in New Issue