lib/switchman/test_helper.rb in switchman-3.5.12 vs lib/switchman/test_helper.rb in switchman-3.5.13
- old
+ new
@@ -17,10 +17,10 @@
end
Shard.default(reload: true)
end
server1 = Shard.default.database_server
- server2 = DatabaseServer.create(Shard.default.database_server.config.merge(server2: true))
+ server2 = DatabaseServer.create(Shard.default.database_server.config.merge(server2: true, schema_dump: false))
if server1 == Shard.default.database_server && server1.config[:shard1] && server1.config[:shard2]
# look for the shards in the db already
shard1 = find_existing_test_shard(server1, server1.config[:shard1])
shard2 = find_existing_test_shard(server2, server1.config[:shard2])