Skip to content

Commit

Permalink
TST: set daemon=True to auto clean-up test IOC process
Browse files Browse the repository at this point in the history
  • Loading branch information
shilorigins committed Aug 1, 2024
1 parent 593295c commit fa16e7b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superscore/tests/ioc/ioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fa16e7b

Please sign in to comment.