]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Fix testswarm task, use API correctly
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 12 Mar 2014 10:03:51 +0000 (11:03 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 12 Mar 2014 10:03:51 +0000 (11:03 +0100)
build/tasks/testswarm.js

index 78cba98f8612fb961953ada2c94ca2d533dc0c7f..a147b8f573c6abe3a4e1f5131c89b41e6053b27c 100644 (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 );