mochitest python harness has a default timeout of 330 seconds, this could be reduced

NEW
Unassigned

Status

defect
4 years ago
4 years ago

People

(Reporter: jmaher, Unassigned)

Tracking

(Blocks 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

We have a 330 second timeout by default:
https://dxr.mozilla.org/mozilla-central/source/testing/mochitest/runtests.py#2269

This is a timeout on output from the browser, so if there are test cases which show up here, they need to be modified to ensure we output something to keep the browser alive.

The goal would be to reduce this to 30 seconds and modify all tests as needed.
Since tests run at different speeds on different platforms, we may find that platforms like Android and B2G require longer timeouts than most desktop platforms. If so, a technique like this could be used:

http://hg.mozilla.org/mozilla-central/annotate/d56c816b35c3/layout/tools/reftest/remotereftest.py#l397

based on 'os' or something like that instead of 'debug'.
You need to log in before you can comment on or make changes to this bug.