Open Bug 1931954 Opened 14 days ago

[wpt-sync] Sync PR 49233 - serve: Handle case where server subprocess times out

Categories

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

task

Tracking

(Not tracked)

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Philip Chimento <pchimento@igalia.com> wrote:

serve: Handle case where server subprocess times out

If wait() times out, the exitcode attribute will not be set. Instead, it'll be None. Handle this case and log a warning that the server process timed out, instead of throwing in the else-clause when trying to format None as %d.

You need to log in before you can comment on or make changes to this bug.