Skip to content

Commit

Permalink
ensure plugin specs run with abort_on_exception
Browse files Browse the repository at this point in the history
Fixes #39
  • Loading branch information
jsvd authored and jordansissel committed Oct 8, 2015
1 parent 995fa30 commit 811fdac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/logstash/devutils/rspec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
require "logstash/devutils/rspec/shared_examples"
require "insist"

Thread.abort_on_exception = true

$TESTING = true
if RUBY_VERSION < "1.9.2"
$stderr.puts "Ruby 1.9.2 or later is required. (You are running: " + RUBY_VERSION + ")"
Expand Down

0 comments on commit 811fdac

Please sign in to comment.