aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorJörn Zaefferer <joern.zaefferer@gmail.com>2014-03-12 11:08:16 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2014-03-12 12:24:58 +0100
commit59c4adbaffbf2eee167021e549b1f461893d624b (patch)
tree288804735514f27d8ea26941d9e56212f15c8526 /build
parentc601eae7f675c9fd2e5a83ad3883aad8af8f9233 (diff)
downloadjquery-59c4adbaffbf2eee167021e549b1f461893d624b.tar.gz
jquery-59c4adbaffbf2eee167021e549b1f461893d624b.zip
Build: Fix testswarm task, use API correctly
(cherry-picked from 22c515c6717efe46685b43215208aa4e5648fbc8)
Diffstat (limited to 'build')
-rw-r--r--build/tasks/testswarm.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/build/tasks/testswarm.js b/build/tasks/testswarm.js
index 3b5164212..fbf030f0c 100644
--- a/build/tasks/testswarm.js
+++ b/build/tasks/testswarm.js
@@ -23,10 +23,8 @@ module.exports = function( grunt ) {
runs[ test ] = config.testUrl + commit + "/test/index.html?module=" + test;
});
- testswarm.createClient( {
- url: config.swarmUrl,
- pollInterval: 10000,
- timeout: timeout || 1000 * 60 * 30
+ testswarm.createClient({
+ url: config.swarmUrl
} )
.addReporter( testswarm.reporters.cli )
.auth( {
@@ -38,7 +36,8 @@ module.exports = function( grunt ) {
name: jobName,
runs: runs,
runMax: config.runMax,
- browserSets: browserSets || [ "popular", "ios" ]
+ browserSets: browserSets || [ "popular", "ios" ],
+ timeout: timeout || 1000 * 60 * 30
}, function( err, passed ) {
if ( err ) {
grunt.log.error( err );