mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Decrease load check intervals for this test, and increase the general browser-chrome test timeout (bug 428330) to try and avoid 'random' failures
This commit is contained in:
parent
f5086a376e
commit
9b9450defb
@ -44,7 +44,7 @@ function test1Setup() {
|
||||
|
||||
// We'd like to use another load listener here, but error pages don't fire load events
|
||||
contextMenu.showOnlyThisFrame();
|
||||
intervalID = window.setInterval(testShowOnlyThisFrame, 3000);
|
||||
intervalID = window.setInterval(testShowOnlyThisFrame, 1000);
|
||||
}
|
||||
|
||||
function testShowOnlyThisFrame() {
|
||||
@ -87,7 +87,7 @@ function test2Setup() {
|
||||
|
||||
gBrowser.selectedTab = test2tab;
|
||||
|
||||
intervalID = window.setInterval(testOpenFrameInTab, 3000);
|
||||
intervalID = window.setInterval(testOpenFrameInTab, 1000);
|
||||
}
|
||||
|
||||
function testOpenFrameInTab() {
|
||||
@ -119,7 +119,7 @@ function test3Setup() {
|
||||
test3window = contextMenu.openFrame();
|
||||
ok(test3window instanceof Window, "openFrame() should return a window (non-null) ");
|
||||
|
||||
intervalID = window.setInterval(testOpenFrame, 3000);
|
||||
intervalID = window.setInterval(testOpenFrame, 1000);
|
||||
}
|
||||
|
||||
function testOpenFrame() {
|
||||
|
@ -149,7 +149,7 @@ testScope.prototype = {
|
||||
// Check whether the test has completed every 3 seconds
|
||||
const CHECK_INTERVAL = 3000;
|
||||
// Test timeout (seconds)
|
||||
const TIMEOUT_SECONDS = 15;
|
||||
const TIMEOUT_SECONDS = 30;
|
||||
|
||||
const MAX_LOOP_COUNT = (TIMEOUT_SECONDS * 1000) / CHECK_INTERVAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user