0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

fix test timing MINOR

This commit is contained in:
Aaron 2009-04-23 13:05:03 -04:00
parent 1250efc54c
commit b3cfede1e8

View File

@ -46,6 +46,9 @@ doTest = function( signal ) {
rz.save( { _id: new ObjectId(), i: i, b: big } );
l = startMongoProgram( "mongod", "--port", ports[ 1 ], "--dbpath", "/data/db/" + baseName + "-left", "--pairwith", "127.0.0.1:" + ports[ 2 ], "127.0.0.1:" + ports[ 0 ], "--oplogSize", "1", "--nohttpinterface" );
sleep( 15000 );
l.setSlaveOk();
assert.soon( function() {
ret = l.getDB( "admin" ).runCommand( { "resync" : 1 } );