Skip to content

Commit c0a0777

Browse files
committed
Tests: Increase QUnit timeout
Android 2.3 is very slow & times out a lot in async tests, they have to be restarted multiple times to settle. Long test execution is not a huge problem as Android 2.3 is tested only periodically during the night, unstable tests are a bigger problem. This might mitigate that. In a regular scenario almost all tests should pass so increasing the timeout for all browsers shouldn't have a huge impact on overall test time. (cherry-picked from ff18d8e) Closes gh-2232
1 parent 35295f1 commit c0a0777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/data/testrunner.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var reset,
1616

1717
// Max time for stop() and asyncTest() until it aborts test
1818
// and start()'s the next test.
19-
QUnit.config.testTimeout = 2e4; // 20 seconds
19+
QUnit.config.testTimeout = 12e4; // 2 minutes
2020

2121
// Enforce an "expect" argument or expect() call in all test bodies.
2222
QUnit.config.requireExpects = true;

0 commit comments

Comments
 (0)