@@ -345,42 +345,42 @@ grunt.registerTask( "testswarm", function( commit, configFile ) {
345345 testswarm = require ( "testswarm" ) ,
346346 testBase = "http://swarm.jquery.org/git/jquery-ui/" + commit + "/tests/unit/" ,
347347 testUrls = [ ] ,
348- config = grunt . file . readJSON ( configFile ) ;
349348 tests = {
350- "Accordion" : "accordion/accordion.html" ,
351- "Accordion_deprecated" : "accordion/accordion_deprecated.html" ,
352- "Autocomplete" : "autocomplete/autocomplete.html" ,
353- "Button" : "button/button.html" ,
354- "Core" : "core/core.html" ,
355- //"datepicker/datepicker.html",
356- //"dialog/dialog.html",
357- //"draggable/draggable.html",
358- //"droppable/droppable.html",
359- "Effects" : "effects/effects.html" ,
360- "Menu" : "menu/menu.html" ,
361- "Position" : "position/position.html" ,
362- "Position_deprecated" : "position/position_deprecated.html" ,
363- "Progressbar" : "progressbar/progressbar.html" ,
364- //"resizable/resizable.html",
365- //"selectable/selectable.html",
366- //"slider/slider.html",
367- //"sortable/sortable.html",
368- "Spinner" : "spinner/spinner.html" ,
369- "Tabs" : "tabs/tabs.html" ,
370- "Tabs_deprecated" : "tabs/tabs_deprecated.html" ,
371- "Tooltip" : "tooltip/tooltip.html" ,
372- "Widget" : "widget/widget.html"
373- } ;
374- for ( test in tests ) {
349+ "Accordion" : "accordion/accordion.html" ,
350+ "Accordion_deprecated" : "accordion/accordion_deprecated.html" ,
351+ "Autocomplete" : "autocomplete/autocomplete.html" ,
352+ "Button" : "button/button.html" ,
353+ "Core" : "core/core.html" ,
354+ //"datepicker/datepicker.html",
355+ //"dialog/dialog.html",
356+ //"draggable/draggable.html",
357+ //"droppable/droppable.html",
358+ "Effects" : "effects/effects.html" ,
359+ "Menu" : "menu/menu.html" ,
360+ "Position" : "position/position.html" ,
361+ "Position_deprecated" : "position/position_deprecated.html" ,
362+ "Progressbar" : "progressbar/progressbar.html" ,
363+ //"resizable/resizable.html",
364+ //"selectable/selectable.html",
365+ //"slider/slider.html",
366+ //"sortable/sortable.html",
367+ "Spinner" : "spinner/spinner.html" ,
368+ "Tabs" : "tabs/tabs.html" ,
369+ "Tabs_deprecated" : "tabs/tabs_deprecated.html" ,
370+ "Tooltip" : "tooltip/tooltip.html" ,
371+ "Widget" : "widget/widget.html"
372+ } ;
373+ for ( test in tests ) {
375374 testUrls . push ( testBase + tests [ test ] + "?nojshint=true" ) ;
376375 }
377376 testswarm ( {
378377 url : "http://swarm.jquery.org/" ,
379378 pollInterval : 10000 ,
379+ timeout : 1000 * 60 * 20 ,
380380 done : this . async ( )
381381 } , {
382382 authUsername : "jqueryui" ,
383- authToken : config . jqueryui . authToken ,
383+ authToken : grunt . file . readJSON ( configFile ) . jqueryui . authToken ,
384384 jobName : 'jQuery UI commit #<a href="https://github.com/jquery/jquery-ui/commit/' + commit + '">' + commit + '</a>' ,
385385 runMax : 4 ,
386386 "runNames[]" : Object . keys ( tests ) ,
0 commit comments