diff options
author | Akira Matsuda + Koichi Sasada <ronnie@dio.jp> | 2013-01-24 19:10:58 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-24 20:00:45 +0900 |
commit | b7b27fc2a3d28c0113e27eea8615e52f723370cb (patch) | |
tree | 0d281c60917ddb7fa4f5979a178c80d8a71e51d1 /activerecord | |
parent | 07c7cb4cc54f422669c957f67173029cad7ced75 (diff) | |
download | rails-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 'activerecord')
-rw-r--r-- | activerecord/test/cases/helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb index 5ffb32e809..7dbb6616f8 100644 --- a/activerecord/test/cases/helper.rb +++ b/activerecord/test/cases/helper.rb @@ -15,6 +15,8 @@ require 'support/connection' # TODO: Move all these random hacks into the ARTest namespace and into the support/ dir +Thread.abort_on_exception = true + # Show backtraces for deprecated behavior for quicker cleanup. ActiveSupport::Deprecation.debug = true |