RUBY-398 test fix
This commit is contained in:
parent
b5576a7ecd
commit
68c613ce79
@ -15,6 +15,7 @@ class ComplexConnectTest < Test::Unit::TestCase
|
|||||||
@conn = ReplSetConnection.new([self.rs.host, self.rs.ports[2]], [self.rs.host, self.rs.ports[1]],
|
@conn = ReplSetConnection.new([self.rs.host, self.rs.ports[2]], [self.rs.host, self.rs.ports[1]],
|
||||||
[self.rs.host, self.rs.ports[0]])
|
[self.rs.host, self.rs.ports[0]])
|
||||||
|
|
||||||
|
@conn['test']['foo'].insert({:a => 1})
|
||||||
assert @conn['test']['foo'].find_one
|
assert @conn['test']['foo'].find_one
|
||||||
|
|
||||||
config = primary['local']['system.replset'].find_one
|
config = primary['local']['system.replset'].find_one
|
||||||
|
Loading…
Reference in New Issue
Block a user