diff options
author | Aaron <aaron@10gen.com> | 2009-04-23 12:18:44 -0400 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2009-04-23 12:18:44 -0400 |
commit | 1250efc54c27ae05ded73a020dd4cfbab49ed9df (patch) | |
tree | 9298609ab7e1c2c240acf648fc1f5686c52cbd29 /jstests/repl | |
parent | 8bf9e88cf1136c9385e56d02f165da998082b6c1 (diff) | |
download | mongo-1250efc54c27ae05ded73a020dd4cfbab49ed9df.tar.gz |
fix test to reuse previous peer MINOR
Diffstat (limited to 'jstests/repl')
-rw-r--r-- | jstests/repl/pair1.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/repl/pair1.js b/jstests/repl/pair1.js index 02c83e1262d..26d1c6372d2 100644 --- a/jstests/repl/pair1.js +++ b/jstests/repl/pair1.js @@ -90,7 +90,7 @@ doTest = function( signal ) { writeOne( l ); - r = startMongod( "--port", ports[ 2 ], "--dbpath", "/data/db/" + baseName + "-right", "--pairwith", "127.0.0.1:" + ports[ 1 ], "127.0.0.1:" + ports[ 0 ], "--oplogSize", "1", "--nohttpinterface" ); + r = startMongoProgram( "mongod", "--port", ports[ 2 ], "--dbpath", "/data/db/" + baseName + "-right", "--pairwith", "127.0.0.1:" + ports[ 1 ], "127.0.0.1:" + ports[ 0 ], "--oplogSize", "1", "--nohttpinterface" ); assert.soon( function() { lm = ismaster( l ); @@ -115,7 +115,7 @@ doTest = function( signal ) { return ( rm == 1 ); } ); - l = startMongod( "--port", ports[ 1 ], "--dbpath", "/data/db/" + baseName + "-left", "--pairwith", "127.0.0.1:" + ports[ 2 ], "127.0.0.1:" + ports[ 0 ], "--oplogSize", "1", "--nohttpinterface" ); + 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" ); assert.soon( function() { lm = ismaster( l ); |