MCPcopy
hub / github.com/Yelp/dumb-init / assert_both_stopped

Function assert_both_stopped

tests/shell_background_test.py:26–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 proc.send_signal(signum)
25
26 def assert_both_stopped():
27 assert process_state(proc.pid) == process_state(pid) == 'stopped'
28
29 sleep_until(assert_both_stopped)
30

Callers

nothing calls this directly

Calls 1

process_stateFunction · 0.90

Tested by

no test coverage detected