Closed Bug 1826819 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 39411 - Add timeout to `fetch` function

Categories

(Remote Protocol :: WebDriver BiDi, task, P4)

task

Tracking

(firefox114 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Maksim Sadym <sadym@google.com> wrote:

Add timeout to fetch function

The default fetch timeout is 300 seconds, which makes relying on it the whole test file fail with TIMEOUT. This masks other issues with the network.

  • Add timeout parameter to the fetch with default 1s.
Component: web-platform-tests → WebDriver BiDi
Product: Testing → Remote Protocol

CI Results

Ran 10 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 6 tests and 5 subtests

Status Summary

Firefox

OK : 6
PASS : 99
FAIL : 12

Chrome

OK : 6
PASS : 50
FAIL : 61

Safari

OK : 6
ERROR: 111

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0babec8b5624 [wpt PR 39411] - Add timeout to `fetch` function, a=testonly https://hg.mozilla.org/integration/autoland/rev/89d8b14711f6 [wpt PR 39411] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
Regressions: 1828950
You need to log in before you can comment on or make changes to this bug.