ble - fail test if over mac_count * 25 loops

This commit is contained in:
matt committed 2026-10-23 00:35:18 -07:00
1 parent 0f6ddef87f
commit 75a9ac32da
1 file changed
+2 -2
+2 -2
View File
@@ -329,8 +329,8 @@ def test_driver(test_count = 0, bt_usb_id = None):
}
return result
# If not, then re-scan the failed sensors
elif test_loop_count > 100:
log.error(f"Test has gone on too long, failing test, rfkill bluetooth, will begin next test run.")
elif test_loop_count > len(mac_list) * 25:
log.error(f"Test has reached {len(mac_list) * 25} loops, failing test, rfkill bluetooth, will begin next test run.")
rkill_bt()
test_complete = True
result = {