Remove psutil.Process.wait uses from hang analyzer

XMLWordPrintableJSON

    • 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

            Assignee:
            Sean Lyons
            Reporter:
            Sean Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: