mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:34:31 +08:00
Reduce number of tries when tests time out.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user