diff options
Diffstat (limited to 'jstests/disk/quota2.js')
| -rw-r--r-- | jstests/disk/quota2.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/disk/quota2.js b/jstests/disk/quota2.js index c0d30dfecbf..a485ae98d27 100644 --- a/jstests/disk/quota2.js +++ b/jstests/disk/quota2.js @@ -7,7 +7,7 @@ port = allocatePorts( 1 )[ 0 ]; baseName = "jstests_disk_quota2"; dbpath = "/data/db/" + baseName; -m = startMongod( "--port", port, "--dbpath", "/data/db/" + baseName, "--quotaFiles", "1", "--smallfiles" ); +m = startMongod( "--port", port, "--dbpath", "/data/db/" + baseName, "--quotaFiles", "2", "--smallfiles" ); db = m.getDB( baseName ); big = new Array( 10000 ).toString(); @@ -24,8 +24,6 @@ for( n = 0; !db.getLastError(); ++n ) { db.createCollection( '' + n ); } -print( n ); - // Check that new docs are saved in the .0 file. for( i = 0; i < n; ++i ) { c = db[ ''+i ]; |
