From 6d0fe5bce7c5e6bf9253eefece3278f60814ede4 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: May 30 2017 16:26:03 +0000 Subject: SIGKILL the worker and broker in the tests Signed-off-by: Patrick Uiterwijk --- diff --git a/tests/__init__.py b/tests/__init__.py index b7fe8be..1ffa549 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -261,9 +261,12 @@ class Modeltests(unittest.TestCase): requests.get('%s/clean/%s' % (FAITOUT_URL, db_name)) # Terminate worker and broker - self.worker.terminate() + # We just send a SIGKILL (kill -9), since when the test finishes, we + # don't really care about the output of either worker or broker + # anymore + self.worker.kill() self.worker.wait() - self.broker.terminate() + self.broker.kill() self.broker.wait() # Remove testdir