Skip to content

Commit

Permalink
WIP, need to determine a way to spawn in a new process group
Browse files Browse the repository at this point in the history
  • Loading branch information
dagardner-nv committed Dec 15, 2023
1 parent e61fbd3 commit e837118
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,8 @@ def _stop_camouflage(popen: subprocess.Popen, shutdown_timeout: int = 5, console

# It takes a little while to shutdown
while not stopped and elapsed_time < shutdown_timeout:
popen.kill()
os.killpg(os.getpgid(popen.pid), signal.SIGKILL)
# popen.kill()
stopped = (popen.poll() is not None)
if not stopped:
time.sleep(sleep_time)
Expand Down

0 comments on commit e837118

Please sign in to comment.