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:
Matthew Noorenberghe 2020-04-27 17:09:22 +00:00
parent 5f31c66b9f
commit d4d855b23b

View File

@ -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);
});
});
};