summaryrefslogtreecommitdiff
path: root/jstests/repl/repl7.js
diff options
context:
space:
mode:
authorAaron Staple <aaron@10gen.com>2009-08-01 14:54:20 -0400
committerAaron Staple <aaron@10gen.com>2009-08-01 14:54:20 -0400
commit24a6ae09d77b198471c2b52f3a205e6f784be7d0 (patch)
treed312da4337e006c44d06d00f9d5a091ef5c06277 /jstests/repl/repl7.js
parent7fd282b98989ac84562549d77a5d2c4f1fbb960b (diff)
downloadmongo-24a6ae09d77b198471c2b52f3a205e6f784be7d0.tar.gz
disable data file preallocation for pairing/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 01ab009248a..e9a61881ddb 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", "--nohttpinterface", "--bind_ip", "127.0.0.1" );
+ m = startMongod( "--port", ports[ 0 ], "--dbpath", "/data/db/" + baseName + "-master", "--master", "--oplogSize", "1", "--nohttpinterface", "--noprealloc", "--bind_ip", "127.0.0.1" );
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 ], "--nohttpinterface", "--bind_ip", "127.0.0.1" );
+ s = startMongod( "--port", ports[ 1 ], "--dbpath", "/data/db/" + baseName + "-slave", "--slave", "--source", "127.0.0.1:" + ports[ 0 ], "--nohttpinterface", "--noprealloc", "--bind_ip", "127.0.0.1" );
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 ], "--nohttpinterface", "--bind_ip", "127.0.0.1" );
+ s = startMongoProgram( "mongod", "--port", ports[ 1 ], "--dbpath", "/data/db/" + baseName + "-slave", "--slave", "--source", "127.0.0.1:" + ports[ 0 ], "--nohttpinterface", "--noprealloc", "--bind_ip", "127.0.0.1" );
assert.soon( function() {
for( n = "a"; n != "aaaaa"; n += "a" ) {