diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2021-10-30 00:56:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-30 00:56:31 +0200 |
commit | 4fd6912bfd8fffbfabc98a9b0789d28f10af0914 (patch) | |
tree | dc770909784a56f135b9106daa9fcfc9a5011917 | |
parent | 9735edd5cb7b5ef30bb8acc4d7596a1410a971cc (diff) | |
download | jquery-4fd6912bfd8fffbfabc98a9b0789d28f10af0914.tar.gz jquery-4fd6912bfd8fffbfabc98a9b0789d28f10af0914.zip |
Tests: Make Karma browser timeout larger than the QUnit one
Since the default Karma browser no activity timeout was lower than the QUnit
timeout, a single timing out test was interrupting the whole test run of
a browser.
The QUnit timeout is set to 1 minute so I set the Karma one to 2 minutes.
Closes gh-4943
-rw-r--r-- | Gruntfile.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index b10ebb2dc..a3e4f0c46 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -232,6 +232,10 @@ module.exports = function( grunt ) { ], reporters: [ "dots" ], autoWatch: false, + + // 2 minutes; has to be longer than QUnit.config.testTimeout + browserNoActivityTimeout: 120e3, + concurrency: 3, captureTimeout: 20 * 1000, singleRun: true |