tests/command: also wait for exit status
This commit is contained in:
@@ -49,6 +49,7 @@ class Command:
|
|||||||
for p in reversed(self.processes):
|
for p in reversed(self.processes):
|
||||||
with contextlib.suppress(OSError):
|
with contextlib.suppress(OSError):
|
||||||
os.killpg(os.getpgid(p.pid), signal.SIGKILL)
|
os.killpg(os.getpgid(p.pid), signal.SIGKILL)
|
||||||
|
p.wait()
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
|
|||||||
Reference in New Issue
Block a user