зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
6e2a06b395
Коммит
753c84b4a5
|
@ -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);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче