Build: Fix testswarm task, use API correctly

This commit is contained in:
Jörn Zaefferer 2014-03-12 11:03:51 +01:00
parent 4752ee9a6c
commit 9fad37d3b6

View File

@ -51,8 +51,6 @@ function submit( commit, runs, configFile, extra, done ) {
testswarm.createClient({
url: config.swarmUrl,
pollInterval: 10000,
timeout: 1000 * 60 * 45
})
.addReporter( testswarm.reporters.cli )
.auth({
@ -63,7 +61,8 @@ function submit( commit, runs, configFile, extra, done ) {
name: "Commit <a href='" + commitUrl + "'>" + commit.substr( 0, 10 ) + "</a>" + extra,
runs: runs,
runMax: config.runMax,
browserSets: [ "popular-ui" ]
browserSets: [ "popular-ui" ],
timeout: 1000 * 60 * 30
}, function( error, passed ) {
if ( error ) {
grunt.log.error( error );