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:
parent
1250efc54c
commit
b3cfede1e8
@ -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 } );
|
||||
|
Loading…
Reference in New Issue
Block a user