mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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'
|
exit if ENV['RETRY'].present? && ENV['RETRY'] == 'false'
|
||||||
sleep 2
|
sleep 2
|
||||||
tries += 1
|
tries += 1
|
||||||
retry unless tries == 10
|
retry unless tries == 3
|
||||||
end
|
end
|
||||||
|
|
||||||
# A bit of a hack until we can figure this out on Travis
|
# A bit of a hack until we can figure this out on Travis
|
||||||
|
Loading…
Reference in New Issue
Block a user