Skip to content

Commit 9fad37d

Browse files
committed
Build: Fix testswarm task, use API correctly
1 parent 4752ee9 commit 9fad37d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build/tasks/testswarm.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ function submit( commit, runs, configFile, extra, done ) {
5151

5252
testswarm.createClient({
5353
url: config.swarmUrl,
54-
pollInterval: 10000,
55-
timeout: 1000 * 60 * 45
5654
})
5755
.addReporter( testswarm.reporters.cli )
5856
.auth({
@@ -63,7 +61,8 @@ function submit( commit, runs, configFile, extra, done ) {
6361
name: "Commit <a href='" + commitUrl + "'>" + commit.substr( 0, 10 ) + "</a>" + extra,
6462
runs: runs,
6563
runMax: config.runMax,
66-
browserSets: [ "popular-ui" ]
64+
browserSets: [ "popular-ui" ],
65+
timeout: 1000 * 60 * 30
6766
}, function( error, passed ) {
6867
if ( error ) {
6968
grunt.log.error( error );

0 commit comments

Comments
 (0)