Skip to content

Commit 26e31b3

Browse files
committed
always abort for tests
1 parent 7dc0046 commit 26e31b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
# kill it when they end
2828
#
2929

30+
Thread.abort_on_exception = true
31+
3032
at_exit do
3133
next if $!
3234

test/threaded_pool_test.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
require "test_helper"
22

3-
Thread.abort_on_exception = true
4-
53
module Resque
64

75
describe "ThreadedPool" do

0 commit comments

Comments
 (0)