A platform for community discussion. Free, open, simple.
DEV: Better debugging information when test fails.
Guo Xiang Tan0fac6cdba916
diff --git a/spec/components/active_record/connection_adapters/postgresql_fallback_adapter_spec.rb b/spec/components/active_record/connection_adapters/postgresql_fallback_adapter_spec.rbindex 94ff62c6fd7..b1d522633aa 100644--- a/spec/components/active_record/connection_adapters/postgresql_fallback_adapter_spec.rb+++ b/spec/components/active_record/connection_adapters/postgresql_fallback_adapter_spec.rb@@ -43,7 +43,8 @@ describe ActiveRecord::ConnectionHandling do(Thread.list - @threads).each do |thread|unless thread.join(5)- raise "Thread still running: #{thread}"+ puts Thread.list - @threads+ raise "Threads still running"endend