mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
attempt to stablise spec in travis
This commit is contained in:
parent
ccbcbd0343
commit
ad8643bfe2
@ -77,7 +77,9 @@ describe Scheduler::Manager do
|
|||||||
ActiveRecord::Base.connection_pool.remove(c)
|
ActiveRecord::Base.connection_pool.remove(c)
|
||||||
end
|
end
|
||||||
expect(ActiveRecord::Base.connection_pool.connections.length).to eq(1)
|
expect(ActiveRecord::Base.connection_pool.connections.length).to eq(1)
|
||||||
expect(@thread_count).to eq(Thread.list.count)
|
wait_for do
|
||||||
|
@thread_count == Thread.list.count
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'can disable stats' do
|
it 'can disable stats' do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user