From dcea56bcf343344818060f0c2e6a8ff8e5119b08 Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Tue, 5 Sep 2023 12:45:18 -0700 Subject: [PATCH] Tests: speedup locationd (#29776) * speedup locationd * bump cereal --- cereal | 2 +- selfdrive/locationd/test/test_locationd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cereal b/cereal index 82bca3a9714b73..4291784b4d3727 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit 82bca3a9714b73c05414fdf848b6016a0ffac17d +Subproject commit 4291784b4d372782c95279e9fe7741e38633ca5e diff --git a/selfdrive/locationd/test/test_locationd.py b/selfdrive/locationd/test/test_locationd.py index 6c6ac33431a428..99047c37f306a9 100755 --- a/selfdrive/locationd/test/test_locationd.py +++ b/selfdrive/locationd/test/test_locationd.py @@ -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'))