зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1329034 - Increase default timeout on debug browser mochitests; r=jmaher
This commit is contained in:
Родитель
3aad788019
Коммит
a1661451d6
|
@ -1634,9 +1634,11 @@ toolbar#nav-bar {
|
|||
"testing.browserTestHarness.timeout=%d" %
|
||||
options.timeout)
|
||||
# browser-chrome tests use a fairly short default timeout of 45 seconds;
|
||||
# this is sometimes too short on asan, where we expect reduced performance.
|
||||
if mozinfo.info["asan"] and options.flavor == 'browser' and options.timeout is None:
|
||||
self.log.info("Increasing default timeout to 90 seconds on ASAN")
|
||||
# this is sometimes too short on asan and debug, where we expect reduced
|
||||
# performance.
|
||||
if (mozinfo.info["asan"] or mozinfo.info["debug"]) and \
|
||||
options.flavor == 'browser' and options.timeout is None:
|
||||
self.log.info("Increasing default timeout to 90 seconds")
|
||||
options.extraPrefs.append("testing.browserTestHarness.timeout=90")
|
||||
|
||||
options.extraPrefs.append(
|
||||
|
|
Загрузка…
Ссылка в новой задаче