Bug 1329034 - Increase default timeout on debug browser mochitests; r=jmaher

This commit is contained in:
Geoff Brown 2017-01-18 07:56:49 -07:00
Родитель 3aad788019
Коммит a1661451d6
1 изменённых файлов: 5 добавлений и 3 удалений

Просмотреть файл

@ -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(