mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
Merge pull request #4269 from choiceaustralia/qunit-args
exit if RETRY is false
This commit is contained in:
commit
83b08b87d5
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ task "qunit:test" => :environment do
|
|||
begin
|
||||
sh(cmd)
|
||||
rescue
|
||||
exit if ENV['RETRY'].present? && ENV['RETRY'] == 'false'
|
||||
sleep 2
|
||||
tries += 1
|
||||
retry unless tries == 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue