Browse Source

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..
tags/v0.1.0
John-Mark Gurney 5 years ago
parent
commit
189bbb7bd3
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      ntunnel.py

+ 3
- 0
ntunnel.py View File

@@ -671,6 +671,9 @@ class TestMain(unittest.TestCase):
if proc.returncode is None: if proc.returncode is None:
proc.terminate() proc.terminate()


# Make sure that process exits before continuing
await proc.wait()

@async_test @async_test
async def test_noargs(self): async def test_noargs(self):
async with self.run_with_args() as proc: async with self.run_with_args() as proc:


Loading…
Cancel
Save