mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
remove uneeded assertion
This commit is contained in:
parent
ebdf8d6718
commit
5881355006
@ -70,7 +70,6 @@ describe Scheduler::Manager do
|
||||
manager.remove(Testing::SuperLongJob)
|
||||
manager.remove(Testing::PerHostJob)
|
||||
$redis.flushall
|
||||
expect(ActiveRecord::Base.connection_pool.connections.reject { |c| !c.in_use? }.length).to eq(1)
|
||||
|
||||
# connections that are not in use must be removed
|
||||
# otherwise active record gets super confused
|
||||
|
Loading…
x
Reference in New Issue
Block a user