lib/kitchen/command.rb in test-kitchen-2.2.5 vs lib/kitchen/command.rb in test-kitchen-2.3.0
- old
+ new
@@ -168,9 +168,10 @@
while (instance = queue.pop)
run_action_in_thread(action, instance, *args)
end
end
end
+ Thread.abort_on_exception = true if options[:fail_fast]
threads.map(&:join)
report_errors
end
# private