From 39c3cce1078cc669fa47d53357ff12eb4f2ae016 Mon Sep 17 00:00:00 2001 From: Devan Agrawal Date: Mon, 8 Jul 2024 09:14:11 -0700 Subject: [PATCH] TST: set daemon=True to auto clean-up test IOC process --- superscore/tests/ioc/ioc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superscore/tests/ioc/ioc.py b/superscore/tests/ioc/ioc.py index e752358..63d7dda 100644 --- a/superscore/tests/ioc/ioc.py +++ b/superscore/tests/ioc/ioc.py @@ -17,11 +17,12 @@ def __enter__(self): self.running_process = Process( target=run_ioc, args=(self.pvdb,), + daemon=True, ) self.running_process.start() def __exit__(self, exc_type, exc_value, traceback): - self.running_process.terminate() + pass class IOCFactory: