Closed Bug 1760798 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33230 - Ensure that the call to kill the WebDriver always returns within a deadline

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33230 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33230
Details from upstream follow.

Carlos Alberto Lopez Perez <clopez@igalia.com> wrote:

Ensure that the call to kill the WebDriver always returns within a deadline

There is a bug on mozprocess ProcessHandler.kill that may cause it to hang when the process to be killed has daemonized childs.

To avoid this situation, pass the timeout parameter to ProcessHandler.kill to ensure it always returns within it.
So wptrunner can continue executing other tests and the whole test suite doesn't hang.

Fixes: https://github.com/web-platform-tests/wpt/issues/33186

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d187b56a0ce7
[wpt PR 33230] - Ensure that the call to kill the WebDriver always returns within a deadline, a=testonly
Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3599c85f68b2
[wpt PR 33230] - Ensure that the call to kill the WebDriver always returns within a deadline, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.