diff --git a/jstests/repl/pair4.js b/jstests/repl/pair4.js index 5a59c1610b1..c04433e4831 100644 --- a/jstests/repl/pair4.js +++ b/jstests/repl/pair4.js @@ -134,6 +134,7 @@ doTest = function( recover, newMaster, newSlave ) { } +// right will be master on recovery b/c both sides will have completed initial sync debug( "basic test" ); doTest( function() { connect(); diff --git a/jstests/repl/pair5.js b/jstests/repl/pair5.js index ed8c72d843a..de7e2d517cc 100644 --- a/jstests/repl/pair5.js +++ b/jstests/repl/pair5.js @@ -62,7 +62,7 @@ doTest = function( nSlave, opIdMem ) { disconnect(); pair.waitForSteadyState( [ 1, 1 ], null, true ); - // left will become slave + // left will become slave (b/c both completed initial sync) for( i = 0; i < nSlave; ++i ) { write( pair.left(), i, i ); }