process replay: don't wait for process to start (#35897)

* hmm

* test proc replay determinism

* clean up

* rm

* clean up
pull/35896/head^2
Shane Smiskol 1 day ago committed by GitHub
parent bab251b287
commit c92add1280
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      selfdrive/test/process_replay/process_replay.py

@ -247,11 +247,6 @@ class ProcessContainer:
if self.cfg.init_callback is not None:
self.cfg.init_callback(self.rc, self.pm, all_msgs, fingerprint)
# wait for process to startup
with Timeout(10, error_msg=f"timed out waiting for process to start: {repr(self.cfg.proc_name)}"):
while not all(self.pm.all_readers_updated(s) for s in self.cfg.pubs if s not in self.cfg.ignore_alive_pubs):
time.sleep(0)
def stop(self):
with self.prefix:
self.process.signal(signal.SIGKILL)

Loading…
Cancel
Save