test_onroad: handle spotty gps in testing closet (#28194)

This commit is contained in:
Adeeb Shihadeh
2023-05-15 12:45:19 -07:00
committed by GitHub
parent 5c843d9c12
commit fbcf6ced51
+5 -1
View File
@@ -161,7 +161,11 @@ class TestOnroad(unittest.TestCase):
for s, msgs in self.service_msgs.items():
if s in ('initData', 'sentinel'):
continue
# skip gps services for now
if s in ('ubloxGnss', 'ubloxRaw', 'gnssMeasurements'):
continue
with self.subTest(service=s):
assert len(msgs) >= math.floor(service_list[s].frequency*55)