Skip to content

Commit

Permalink
Tests: speedup locationd (commaai#29776)
Browse files Browse the repository at this point in the history
* speedup locationd

* bump cereal
  • Loading branch information
jnewb1 authored and lskov committed Sep 6, 2023
1 parent 4a4d125 commit 1cbf97f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cereal
2 changes: 1 addition & 1 deletion selfdrive/locationd/test/test_locationd.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def test_params_gps(self):
for msg in sorted(msgs, key=lambda x: x.logMonoTime):
self.pm.send(msg.which(), msg)
if msg.which() == "cameraOdometry":
self.pm.wait_for_readers_to_update(msg.which(), 0.1)
self.pm.wait_for_readers_to_update(msg.which(), 0.1, dt=0.005)
time.sleep(1) # wait for async params write

lastGPS = json.loads(self.params.get('LastGPSPosition'))
Expand Down

0 comments on commit 1cbf97f

Please sign in to comment.