Skip to content

Commit 9beb84a

Browse files
Fix fake synced pub/sub test race (#692)
* Fix fake synced pub/sub test race * Remove fake test ordering comment
1 parent 6189f41 commit 9beb84a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

msgq/tests/test_fake.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,11 @@ def test_synced_pub_sub(self):
162162
recv_called = carState_handle.recv_called_event
163163
recv_ready = carState_handle.recv_ready_event
164164

165+
pub_sock = msgq.pub_sock("carState")
166+
165167
p = multiprocessing.Process(target=daemon_repub_process_run)
166168
p.start()
167169

168-
pub_sock = msgq.pub_sock("carState")
169170
sub_sock = msgq.sub_sock("ubloxGnss")
170171

171172
try:

0 commit comments

Comments
 (0)