diff --git a/tests/integration/test_ibootbar_agent_integration.py b/tests/integration/test_ibootbar_agent_integration.py index 91cab2011..9a3cff4a9 100644 --- a/tests/integration/test_ibootbar_agent_integration.py +++ b/tests/integration/test_ibootbar_agent_integration.py @@ -52,10 +52,8 @@ def start_responder(): ): p = Process(target=responder.main) p.start() - try: - yield - finally: - os.kill(p.pid, signal.SIGINT) + yield + os.kill(p.pid, signal.SIGKILL) @pytest.mark.integtest diff --git a/tests/integration/test_ups_agent_integration.py b/tests/integration/test_ups_agent_integration.py index 9ab381e0d..07feebb6f 100644 --- a/tests/integration/test_ups_agent_integration.py +++ b/tests/integration/test_ups_agent_integration.py @@ -50,7 +50,7 @@ def start_responder(): p = Process(target=responder.main) p.start() yield - os.kill(p.pid, signal.SIGINT) + os.kill(p.pid, signal.SIGKILL) @pytest.mark.integtest