Open Bug 1212055 Opened 8 years ago Updated 1 year ago

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

Categories

(Testing :: Mochitest, defect)

defect

Tracking

(Not tracked)

People

(Reporter: jmaher, Unassigned)

References

(Blocks 1 open bug)

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'.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.