mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Bug 866293 - Increase test timeout threshold once more to a 1000MS to avoid intermittent test failures. r=yoric
This commit is contained in:
parent
9dc22f059c
commit
26e3c3a45c
@ -896,12 +896,12 @@ let test_system_shutdown = maketest("system_shutdown", function system_shutdown(
|
||||
Services.console.registerListener(listener);
|
||||
logStart = Date.now();
|
||||
f();
|
||||
// If listener does not resolve webObservation in timely manner (100MS),
|
||||
// If listener does not resolve webObservation in timely manner (1000MS),
|
||||
// reject it.
|
||||
setTimeout(function() {
|
||||
test.info("waitObservation timeout exceeded.");
|
||||
waitObservation.reject();
|
||||
}, 500);
|
||||
}, 1000);
|
||||
yield waitObservation.promise;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user