diff options
author | 2018-08-08 17:18:41 +0800 | |
---|---|---|
committer | 2018-08-09 14:02:51 +0800 | |
commit | 7b73fe24ce63e36dea924164c98e0a15fd1d7684 (patch) | |
tree | 7f1a722c38347fb7c8fb52adb9e49a2babf8f317 /doctor_tests/user.py | |
parent | 0f607cb5efd91ee497346b7f792dfa844d15595c (diff) |
bugfix: kill the stunnel when cleanup
Popen.terminate() will kill the child process, but if you set the
shell argument to True, this is the process ID of the spawned shell,
so the stunnels are still exit.It will cause the failure of stunnel
setup in the next test runtime.
see: https://stackoverflow.com/questions/4789837/how-to-terminate-a-python-subprocess-launched-with-shell-true/4791612#4791612
Change-Id: I578611510f5bd1eb0dbd9a08ab408ccf101594f7
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'doctor_tests/user.py')
0 files changed, 0 insertions, 0 deletions