Skip to content
Permalink
Browse files

Test: Set testswarm.runMax from config file

  • Loading branch information
Krinkle authored and scottgonzalez committed Jun 11, 2012
1 parent f0d4da8 commit 6752994014946ca6a8315c26d2179eb5b0fdd3a2
Showing with 3 additions and 2 deletions.
  1. +3 −2 build/tasks/testswarm.js
@@ -3,6 +3,7 @@ module.exports = function( grunt ) {
grunt.registerTask( "testswarm", function( commit, configFile ) {
var test,
testswarm = require( "testswarm" ),
config = grunt.file.readJSON( configFile ).jqueryui,
testBase = "http://swarm.jquery.org/git/jquery-ui/" + commit + "/tests/unit/",
testUrls = [],
tests = {
@@ -40,9 +41,9 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
done: this.async()
}, {
authUsername: "jqueryui",
authToken: grunt.file.readJSON( configFile ).jqueryui.authToken,
authToken: config.authToken,
jobName: 'jQuery UI commit #<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit.substr( 0, 10 ) + '</a>',
runMax: 3,
runMax: config.runMax,
"runNames[]": Object.keys(tests),
"runUrls[]": testUrls,
"browserSets[]": ["popular"]

0 comments on commit 6752994

Please sign in to comment.
You can’t perform that action at this time.