Bug 866293 - Increase test timeout threshold once more to a 1000MS to avoid intermittent test failures. r=yoric

This commit is contained in:
Yura Zenevich 2013-05-29 19:26:41 -04:00
parent f3f7ca8de2
commit 9cf51ab6c4

View File

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