aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
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 /actionpack
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 'actionpack')
-rw-r--r--actionpack/test/abstract_unit.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index bbcd289886..7157bccfb3 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -38,6 +38,8 @@ end
ActiveSupport::Dependencies.hook!
+Thread.abort_on_exception = true
+
# Show backtraces for deprecated behavior for quicker cleanup.
ActiveSupport::Deprecation.debug = true