diff --git a/ntunnel.py b/ntunnel.py index e8623c6..3aea98b 100644 --- a/ntunnel.py +++ b/ntunnel.py @@ -671,6 +671,9 @@ class TestMain(unittest.TestCase): if proc.returncode is None: proc.terminate() + # Make sure that process exits before continuing + await proc.wait() + @async_test async def test_noargs(self): async with self.run_with_args() as proc: