mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
No bug - Increase default mozscreenshots timeout to 700ms. a=test-only
See if this helps with some of the graphical glitches. Differential Revision: https://phabricator.services.mozilla.com/D72582
This commit is contained in:
parent
5f31c66b9f
commit
d4d855b23b
@ -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);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user