From acd82adad3f2942dcd63aa7dc9c5b013f977448f Mon Sep 17 00:00:00 2001 From: Richard Bann Date: Tue, 18 Jun 2019 11:01:37 +0200 Subject: [PATCH] test should be more robust --- tests/test_connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_connection.py b/tests/test_connection.py index ef3dea7f..32779002 100755 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -426,6 +426,7 @@ t.join() process = multiprocessing.Process(target=conn, args=(queue,)) process.start() queue.get() + time.sleep(0.1) os.kill(process.pid, signal.SIGINT) process.join() self.assertEqual(queue.get(), "KeyboardInterrupt")