This commit is contained in:
meejah 2019-08-10 20:00:04 -06:00
parent 926fa77ccb
commit 4dc7f9637e

View File

@ -283,13 +283,13 @@ log_gatherer.furl = {log_furl}
def cleanup():
try:
transport.signalProcess('TERM')
pytest_twisted.blockon(transport.exited)
pytest_twisted.blockon(protocol.exited)
except ProcessExitedAlready:
pass
request.addfinalizer(cleanup)
pytest_twisted.blockon(protocol.magic_seen)
return process
return transport
@pytest.fixture(scope='session')