0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
Aaron 2010-02-03 00:13:42 -08:00
parent 7ba50bffab
commit 12f5a46e4d
2 changed files with 2 additions and 1 deletions

View File

@ -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();

View File

@ -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 );
}