From 4fd6912bfd8fffbfabc98a9b0789d28f10af0914 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Sat, 30 Oct 2021 00:56:31 +0200 Subject: 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 --- Gruntfile.js | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3 Mirror of redmine code source: https://github.com/redmine/redminewww-data
summaryrefslogtreecommitdiffstats
path: root/app/views/custom_fields/formats/_date.html.erb
blob: b52c063105a6f497c53f0edd9b34c4bfda1bc6af (plain)
1
2
3