From 189bbb7bd3ab9d91df81b74c14c6083d1c8e28fd Mon Sep 17 00:00:00 2001 From: John-Mark Gurney Date: Thu, 31 Oct 2019 14:44:12 -0700 Subject: [PATCH] wait for clean up to happen before progressing.. This is to make sure that we don't have a run away resoruce utilization.. probably unneeded.. --- ntunnel.py | 3 +++ 1 file changed, 3 insertions(+) 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: