mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
Fix test not starting with the right state.
This commit is contained in:
parent
09e7c1ce8a
commit
509ecbe9fb
@ -27,6 +27,8 @@ describe ActiveRecord::ConnectionHandling do
|
|||||||
let(:postgresql_fallback_handler) { PostgreSQLFallbackHandler.instance }
|
let(:postgresql_fallback_handler) { PostgreSQLFallbackHandler.instance }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
|
postgresql_fallback_handler.initialized = true
|
||||||
|
|
||||||
['default', multisite_db].each do |db|
|
['default', multisite_db].each do |db|
|
||||||
with_multisite_db(db) do
|
with_multisite_db(db) do
|
||||||
postgresql_fallback_handler.master_down = false
|
postgresql_fallback_handler.master_down = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user