aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/abstract_unit.rb
diff options
context:
space:
mode:
authorAkira Matsuda + Koichi Sasada <ronnie@dio.jp>2013-01-24 19:10:58 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-01-24 20:00:45 +0900
commitb7b27fc2a3d28c0113e27eea8615e52f723370cb (patch)
tree0d281c60917ddb7fa4f5979a178c80d8a71e51d1 /activesupport/test/abstract_unit.rb
parent07c7cb4cc54f422669c957f67173029cad7ced75 (diff)
downloadrails-b7b27fc2a3d28c0113e27eea8615e52f723370cb.tar.gz
rails-b7b27fc2a3d28c0113e27eea8615e52f723370cb.tar.bz2
rails-b7b27fc2a3d28c0113e27eea8615e52f723370cb.zip
Set Thread.abort_on_exception for the whole AS, AP, and AR tests
this would give us some more clues in case a test silently dies inside Thread
Diffstat (limited to 'activesupport/test/abstract_unit.rb')
-rw-r--r--activesupport/test/abstract_unit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/test/abstract_unit.rb b/activesupport/test/abstract_unit.rb
index 90e50f235b..dd17cb64f4 100644
--- a/activesupport/test/abstract_unit.rb
+++ b/activesupport/test/abstract_unit.rb
@@ -21,5 +21,7 @@ require 'empty_bool'
ENV['NO_RELOAD'] = '1'
require 'active_support'
+Thread.abort_on_exception = true
+
# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = true