summaryrefslogtreecommitdiff
path: root/jstests/dur/diskfull.js
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2011-11-30 12:21:52 -0500
committerMathias Stearn <mathias@10gen.com>2011-11-30 12:22:36 -0500
commit172fb439abcbca69e2934dafecdf38d2868d38ea (patch)
treed0e40f5f2bfb03cc249aa3cac572271a0105f7c7 /jstests/dur/diskfull.js
parent3ad7b35dcd3051d27955c549f7c377385e19c6f4 (diff)
downloadmongo-172fb439abcbca69e2934dafecdf38d2868d38ea.tar.gz
Fix diskfull tests by bypassing journal free space check at startup
Diffstat (limited to 'jstests/dur/diskfull.js')
-rw-r--r--jstests/dur/diskfull.js4
1 files changed, 2 insertions, 2 deletions
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");