mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-06 08:40:56 +00:00
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:
parent
6e2a06b395
commit
753c84b4a5
@ -380,11 +380,11 @@ var TestRunner = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.mochitestScope.info("called " + config.name);
|
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
|
// try to apply at the same time. e.g WindowSize and TabsInTitlebar
|
||||||
return Promise.race([applyPromise, timeoutPromise]).then(result => {
|
return Promise.race([applyPromise, timeoutPromise]).then(result => {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
setTimeout(() => resolve(result), 500);
|
setTimeout(() => resolve(result), 700);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user