retry each test up to 3 times in the event of timeout

Big thanks to @gvas for https://github.com/axemclion/grunt-saucelabs/pull/136 ! <3
This commit is contained in:
Chris Rebert 2014-06-24 12:12:21 -07:00
parent df1aee56df
commit 6ec5b8cea8
1 changed files with 1 additions and 0 deletions

View File

@ -379,6 +379,7 @@ module.exports = function (grunt) {
options: {
build: process.env.TRAVIS_JOB_ID,
concurrency: 10,
maxRetries: 3,
urls: ['http://127.0.0.1:3000/js/tests/index.html'],
browsers: grunt.file.readYAML('grunt/sauce_browsers.yml')
}