From 172fb439abcbca69e2934dafecdf38d2868d38ea Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Wed, 30 Nov 2011 12:21:52 -0500 Subject: Fix diskfull tests by bypassing journal free space check at startup --- jstests/dur/diskfull.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/dur') diff --git a/jstests/dur/diskfull.js b/jstests/dur/diskfull.js index c123ea1541e..db03ad2fce5 100644 --- a/jstests/dur/diskfull.js +++ b/jstests/dur/diskfull.js @@ -85,7 +85,7 @@ function runFirstMongodAndFillDisk() { log(); clear(); - conn = startMongodNoReset("--port", 30001, "--dbpath", startPath, "--dur", "--smallfiles", "--durOptions", 8, "--noprealloc"); + conn = startMongodNoReset("--port", 30001, "--dbpath", startPath, "--dur", "--smallfiles", "--durOptions", 8+64, "--noprealloc"); assert.throws( work, null, "no exception thrown when exceeding disk capacity" ); stopMongod( 30001 ); @@ -96,7 +96,7 @@ function runFirstMongodAndFillDisk() { function runSecondMongdAndRecover() { // restart and recover log(); - conn = startMongodNoReset("--port", 30003, "--dbpath", startPath, "--dur", "--smallfiles", "--durOptions", 8, "--noprealloc"); + conn = startMongodNoReset("--port", 30003, "--dbpath", startPath, "--dur", "--smallfiles", "--durOptions", 8+64, "--noprealloc"); verify(); log("stop"); -- cgit v1.2.1