Permalink
Browse files

fix rollback test

  • Loading branch information...
1 parent 3c2c492 commit 7ce719b61ab63c96a7e09c283d52484fd90f7435 Kristina Chodorow committed Jul 30, 2010
Showing with 5 additions and 1 deletion.
  1. +5 −1 jstests/replsets/sync1.js
@@ -83,7 +83,11 @@ doTest = function( signal ) {
var max = max1.z;
// now, let's see if rollback works
- var result = dbs[0].runCommand({replSetTest : 1, blind : false});
+ var result = dbs[0].getSisterDB("admin").runCommand({replSetTest : 1, blind : false});
+ dbs[0].getMongo().setSlaveOk();
+
+ printjson(result);
+ sleep(5000);
// FAIL! This never resyncs
// now this should resync

0 comments on commit 7ce719b

Please sign in to comment.