Permalink
Browse files

harden rs test

  • Loading branch information...
kchodorow committed Jun 9, 2011
1 parent 17f2e3d commit 3d909045d30dcd6af39bf21dd62a379275262ccd
Showing with 4 additions and 0 deletions.
  1. +4 −0 jstests/replsets/reconfig.js
@@ -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.