summaryrefslogtreecommitdiff
path: root/jstests/repl/repl7.js
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-04-02 18:20:57 -0400
committerAaron <aaron@10gen.com>2009-04-02 18:20:57 -0400
commit1866fed9c62ae0acd16c5c0a1059db31de009ddb (patch)
tree251c7632d2437508b23e5a4392de6b12d6278fe4 /jstests/repl/repl7.js
parentb372835b9183f3ea8cf2d0103c82805e52a497a1 (diff)
downloadmongo-1866fed9c62ae0acd16c5c0a1059db31de009ddb.tar.gz
disable http interface in repl tests
Diffstat (limited to 'jstests/repl/repl7.js')
-rw-r--r--jstests/repl/repl7.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/repl/repl7.js b/jstests/repl/repl7.js
index 06ae08cac0e..3219735b0dd 100644
--- a/jstests/repl/repl7.js
+++ b/jstests/repl/repl7.js
@@ -7,13 +7,13 @@ doTest = function( signal ) {
ports = allocatePorts( 2 );
// spec small oplog for fast startup on 64bit machines
- m = startMongod( "--port", ports[ 0 ], "--dbpath", "/data/db/" + baseName + "-master", "--master", "--oplogSize", "1" );
+ m = startMongod( "--port", ports[ 0 ], "--dbpath", "/data/db/" + baseName + "-master", "--master", "--oplogSize", "1", "--nohttpinterface" );
for( n = "a"; n != "aaaaa"; n += "a" ) {
m.getDB( n ).a.save( {x:1} );
}
- s = startMongod( "--port", ports[ 1 ], "--dbpath", "/data/db/" + baseName + "-slave", "--slave", "--source", "127.0.0.1:" + ports[ 0 ] );
+ s = startMongod( "--port", ports[ 1 ], "--dbpath", "/data/db/" + baseName + "-slave", "--slave", "--source", "127.0.0.1:" + ports[ 0 ], "--nohttpinterface" );
assert.soon( function() {
return -1 != s.getDBNames().indexOf( "aa" );
@@ -21,7 +21,7 @@ doTest = function( signal ) {
stopMongod( ports[ 1 ], signal );
- s = startMongoProgram( "mongod", "--port", ports[ 1 ], "--dbpath", "/data/db/" + baseName + "-slave", "--slave", "--source", "127.0.0.1:" + ports[ 0 ] );
+ s = startMongoProgram( "mongod", "--port", ports[ 1 ], "--dbpath", "/data/db/" + baseName + "-slave", "--slave", "--source", "127.0.0.1:" + ports[ 0 ], "--nohttpinterface" );
assert.soon( function() {
for( n = "a"; n != "aaaaa"; n += "a" ) {