mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Fix testswarm task, use API correctly
(cherry-picked from 22c515c671
)
This commit is contained in:
parent
c601eae7f6
commit
59c4adbaff
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user