aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/connection_pool_test.rb
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-06-18 14:16:23 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-06-18 14:18:18 +0900
commit542f92935cdc1b23078364e547f923ec180e7efe (patch)
treeb7390f0a855817b75f87eec13d28f9bfcd379cbc /activerecord/test/cases/connection_pool_test.rb
parent67a579419b275c4c982b02d9b6380cf4cbdaba20 (diff)
downloadrails-542f92935cdc1b23078364e547f923ec180e7efe.tar.gz
rails-542f92935cdc1b23078364e547f923ec180e7efe.tar.bz2
rails-542f92935cdc1b23078364e547f923ec180e7efe.zip
Remove debug print
This debug print was added in 87f5e5e for finding the regression caused by d314646 and the regression has already been fixed in 969339b.
Diffstat (limited to 'activerecord/test/cases/connection_pool_test.rb')
-rw-r--r--activerecord/test/cases/connection_pool_test.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/activerecord/test/cases/connection_pool_test.rb b/activerecord/test/cases/connection_pool_test.rb
index 7e88c9cf7a..00a0187b57 100644
--- a/activerecord/test/cases/connection_pool_test.rb
+++ b/activerecord/test/cases/connection_pool_test.rb
@@ -499,21 +499,8 @@ module ActiveRecord
if failed
second_thread_done.set
- puts
- puts ">>> test_disconnect_and_clear_reloadable_connections_are_able_to_preempt_other_waiting_threads / #{group_action_method}"
- p [first_thread, second_thread]
- p pool.stat
- p pool.connections.map(&:owner)
-
first_thread.join(2)
second_thread.join(2)
-
- puts "---"
- p [first_thread, second_thread]
- p pool.stat
- p pool.connections.map(&:owner)
- puts "<<<"
- puts
end
first_thread.join(10) || raise("first_thread got stuck")