зеркало из https://github.com/mozilla/pjs.git
try increasing test timeout
This commit is contained in:
Родитель
5c3a4fa57a
Коммит
beb6f60698
|
@ -12,8 +12,8 @@ TestRunner._currentTest = 0;
|
|||
TestRunner._urls = [];
|
||||
|
||||
/**
|
||||
* Make sure the tests don't hang. Runs every 120 seconds, but it will
|
||||
* take up to 240 seconds to detect a hang.
|
||||
* Make sure the tests don't hang. Runs every 180 seconds, but it will
|
||||
* take up to 360 seconds to detect a hang.
|
||||
**/
|
||||
TestRunner._testCheckPoint = -1;
|
||||
TestRunner._checkForHangs = function() {
|
||||
|
@ -25,7 +25,7 @@ TestRunner._checkForHangs = function() {
|
|||
frameWindow.SimpleTest.finish();
|
||||
}
|
||||
TestRunner._testCheckPoint = TestRunner._currentTest;
|
||||
TestRunner.deferred = callLater(120, TestRunner._checkForHangs);
|
||||
TestRunner.deferred = callLater(180, TestRunner._checkForHangs);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче