Skip to content

Commit

Permalink
Fixing up bugs in script
Browse files Browse the repository at this point in the history
  • Loading branch information
tehampson committed Jul 30, 2024
1 parent 40a0b94 commit d8265e3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/python_testing/TC_MCORE_FS_1_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ async def setup_class(self):


def teardown_class(self):
logging.warning("Stopping app with SIGTERM")
self.app_process_for_dut_eco.send_signal(signal.SIGTERM.value)
self.app_process_for_dut_eco.wait()
if self.app_process_for_dut_eco is not None:
logging.warning("Stopping app with SIGTERM")
self.app_process_for_dut_eco.send_signal(signal.SIGTERM.value)
self.app_process_for_dut_eco.wait()
# TODO: Use timeout, if term doesn't work, try SIGINT
if self.app_process_for_th_eco is not None:
logging.warning("Stopping app with SIGTERM")
self.app_process_for_th_eco.send_signal(signal.SIGTERM.value)
self.app_process_for_th_eco.wait()

Expand Down

0 comments on commit d8265e3

Please sign in to comment.