Reduce number of tries when tests time out.
This commit is contained in:
parent
68f9c7142f
commit
7e8a975e20
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue