mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
make sure everything runs before ending test (#1741)
old-commit-hash: 5198457ca0364b011d5a34e81b459be52fe4e55d
This commit is contained in:
@@ -515,8 +515,14 @@ def manager_thread():
|
||||
if dt > 90:
|
||||
last_proc = messaging.recv_sock(proc_sock, wait=True)
|
||||
|
||||
all_running = all(running[p].is_alive() for p in car_started_processes)
|
||||
|
||||
cleanup_all_processes(None, None)
|
||||
sys.exit(print_cpu_usage(first_proc, last_proc))
|
||||
return_code = print_cpu_usage(first_proc, last_proc)
|
||||
|
||||
if not all_running:
|
||||
return_code = 1
|
||||
sys.exit(return_code)
|
||||
|
||||
def manager_prepare(spinner=None):
|
||||
# build all processes
|
||||
|
||||
Reference in New Issue
Block a user