-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Testing Infrastructure
-
None
-
DevProd Correctness
-
Fully Compatible
-
ALL
-
Correctness 2025-10-06
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Only the resmoke testcase should wait on the process, otherwise the return code my be inaccurate.
In short,
process=subprocess.Popen(["sleep", "10"])
p1=psutil.Process(process.pid)
p2=psutil.Process(process.pid)
p1.kill()
r1=p1.wait() # r1 is -9 (SIGKILL)
r2=p2.wait() # r2 is None