MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / check_running_processes

Method check_running_processes

tests/conftest.py:80–84  ·  view source on GitHub ↗

Checks that everything is still running

(self)

Source from the content-addressed store, hash-verified

78 wait_until(lambda: not is_process_alive())
79
80 def check_running_processes(self):
81 """Checks that everything is still running"""
82 for p in self.processes:
83 if p.final_check and p.process.poll() is not None:
84 raise Exception("Process {0} crashed (log in {1}/{0}.out)".format(p.name, self.work_path))
85
86 def kill_all(self):
87 self.sort_processes_for_kill()

Callers 4

test_reservation_in_mnFunction · 0.80
start_serverMethod · 0.80
run_hq_envFunction · 0.80
checkFunction · 0.80

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected