mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 19:38:24 +00:00
DEV: Better debugging information when test fails.
This commit is contained in:
parent
7256b3bf68
commit
0fac6cdba9
@ -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"
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user