No bug - Increase default mozscreenshots timeout to 700ms. a=test-only

See if this helps with some of the graphical glitches.

Depends on D72581

Differential Revision: https://phabricator.services.mozilla.com/D72582
This commit is contained in:
Matthew Noorenberghe 2020-04-27 03:21:36 +00:00
Родитель 6e2a06b395
Коммит 753c84b4a5
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -380,11 +380,11 @@ var TestRunner = {
});
this.mochitestScope.info("called " + config.name);
// Add a default timeout of 500ms to avoid conflicts when configurations
// Add a default timeout of 700ms to avoid conflicts when configurations
// try to apply at the same time. e.g WindowSize and TabsInTitlebar
return Promise.race([applyPromise, timeoutPromise]).then(result => {
return new Promise(resolve => {
setTimeout(() => resolve(result), 500);
setTimeout(() => resolve(result), 700);
});
});
};