mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1861519 - [1/1] increase arbitrary timeout in test r=ipc-reviewers,nika
Despite having passed through test-verify cleanly, the crash test is still sometimes failing due to a dump not being generated. Increase it to one full second, to give the file dialog time to open. If this doesn't suffice we'll have to either add another flavor of promise in the test-only code, or disable the test entirely. Differential Revision: https://phabricator.services.mozilla.com/D192101
This commit is contained in:
parent
c89d952c0b
commit
0263135c35
@ -53,7 +53,7 @@ function openFileDialog() {
|
||||
// window hook for the file dialog being shown and `await`ing on that.
|
||||
//
|
||||
// eslint-disable-next-line mozilla/no-arbitrary-setTimeout
|
||||
await new Promise(res => setTimeout(res, 500));
|
||||
await new Promise(res => setTimeout(res, 1000));
|
||||
return pid;
|
||||
})();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user