0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 09:06:21 +01:00

harden rs test

This commit is contained in:
Kristina 2011-06-09 18:59:56 -04:00
parent 17f2e3d7e2
commit 3d909045d3

View File

@ -31,9 +31,13 @@ catch(e) {
var config = master.getDB("local").system.replset.findOne();
assert.eq(oldVersion+1, config.version);
print("0 & 3 up; 1, 2, 4 down");
replTest.restart(3);
// in case 0 isn't master
replTest.awaitReplication();
replTest.stop(1);
replTest.stop(2);