mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
DEV: Fix heisentest.
Unpause sidekiq before clearning up all threads.
This commit is contained in:
parent
4f5aebc338
commit
86a2172bda
@ -32,8 +32,8 @@ describe ActiveRecord::ConnectionHandling do
|
||||
end
|
||||
|
||||
after do
|
||||
(Thread.list - @threads).each(&:kill)
|
||||
Sidekiq.unpause!
|
||||
(Thread.list - @threads).each(&:kill)
|
||||
postgresql_fallback_handler.setup!
|
||||
|
||||
ActiveRecord::Base.unstub(:postgresql_connection)
|
||||
|
Loading…
Reference in New Issue
Block a user