Open Bug 519572 Opened 15 years ago Updated 2 years ago

Ensure test frameworks expect subprocesses

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: benjamin, Unassigned)

References

Details

If a browser hangs, the test frameworks currently just kill it off. Now that browsers are going to launch subprocesses, we need to make sure:

* if the process exits normally, there aren't any subprocesses left around
* if the process is killed off, there aren't orphan processes which could cause weird problems on future test runs

Not sure exactly where to file this, but it applies to mochitests/reftests/xpcshelltests, I think.
Blocks: 523094
Depends on: 523208
Depends on: 523209
Depends on: 523211
No longer blocks: 523094
We now do have mozprocess largely for this purpose (see, e.g., https://github.com/mozilla/mozbase/tree/master/mozprocess because I don't know a better reference).  It is certainly not complete and is underdocumented, undertested, and underutilized, but WIP.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.