Reduce number of tries when tests time out.

This commit is contained in:
Guo Xiang Tan 2016-11-15 15:23:53 +08:00
parent 68f9c7142f
commit 7e8a975e20
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ task "qunit:test" => :environment do
exit if ENV['RETRY'].present? && ENV['RETRY'] == 'false'
sleep 2
tries += 1
retry unless tries == 10
retry unless tries == 3
end
# A bit of a hack until we can figure this out on Travis