Skip to content
Permalink
Browse files
harden rs test
  • Loading branch information
kchodorow committed Jun 9, 2011
1 parent 17f2e3d commit 3d90904
Showing 1 changed file with 4 additions and 0 deletions.
@@ -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);

0 comments on commit 3d90904

Please sign in to comment.