diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rake index 07e9a48b6..5aa1d7901 100644 --- a/lib/tasks/qunit.rake +++ b/lib/tasks/qunit.rake @@ -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