41
assert.throws(replTest.nodes[1].getDB("admin").runCommand({ping:1}).ok, 1, "we are not connected to node[1]");
42
assert.eq(replTest.nodes[1].getDB("admin").runCommand({ping:1}).ok, 1, "we are connected to node[1]");
41
// This test that nodes[1] disconnects us when it picks up the new config
45
replTest.nodes[1].getDB("admin").runCommand({ping:1});
53
// Now we should successfully reconnect to nodes[1]
54
assert.eq(replTest.nodes[1].getDB("admin").runCommand({ping:1}).ok, 1,
55
"we are connected to node[1]");