summaryrefslogtreecommitdiff
path: root/jstests/tool/tool1.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-10-29 13:38:13 -0400
committerEliot Horowitz <eliot@10gen.com>2010-10-29 13:38:13 -0400
commit6b1e3d2328ccaedec8821d09ca1070ca57ad562c (patch)
treedc2f1c7809127bb0b9f079405afa82eb0e2cc324 /jstests/tool/tool1.js
parent96b737b47ed6fa2983fea065b90d48387cf564d1 (diff)
downloadmongo-6b1e3d2328ccaedec8821d09ca1070ca57ad562c.tar.gz
better tool test for slow disks
Diffstat (limited to 'jstests/tool/tool1.js')
-rw-r--r--jstests/tool/tool1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/tool/tool1.js b/jstests/tool/tool1.js
index 91fce80717c..ebe82932832 100644
--- a/jstests/tool/tool1.js
+++ b/jstests/tool/tool1.js
@@ -18,7 +18,7 @@ function fileSize(){
port = allocatePorts( 1 )[ 0 ];
resetDbpath( externalPath );
-m = startMongod( "--port", port, "--dbpath", dbPath, "--nohttpinterface", "--bind_ip", "127.0.0.1" );
+m = startMongod( "--port", port, "--dbpath", dbPath, "--nohttpinterface", "--noprealloc" , "--bind_ip", "127.0.0.1" );
c = m.getDB( baseName ).getCollection( baseName );
c.save( { a: 1 } );
assert( c.findOne() );