Commit c0a07778 authored by Michał Gołębiowski's avatar Michał Gołębiowski

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 ff18d8e2060ae7c15c7694dc6bcbbeb9cbfbdaa4)

Closes gh-2232
parent 35295f1c
...@@ -16,7 +16,7 @@ var reset, ...@@ -16,7 +16,7 @@ var reset,
// Max time for stop() and asyncTest() until it aborts test // Max time for stop() and asyncTest() until it aborts test
// and start()'s the next test. // and start()'s the next test.
QUnit.config.testTimeout = 2e4; // 20 seconds QUnit.config.testTimeout = 12e4; // 2 minutes
// Enforce an "expect" argument or expect() call in all test bodies. // Enforce an "expect" argument or expect() call in all test bodies.
QUnit.config.requireExpects = true; QUnit.config.requireExpects = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment