diff options
author | gregs <greg@10gen.com> | 2011-08-05 15:31:34 -0400 |
---|---|---|
committer | gregs <greg@10gen.com> | 2011-08-05 15:31:34 -0400 |
commit | 4e25a6d588c4eaa8495066e292e5908f05eeb926 (patch) | |
tree | b09eebdd57f1ff584fac3b7463557e15fe9b5679 /dbtests | |
parent | a19bd10c50c12a03fc894c8b3d19bc75a6826121 (diff) | |
download | mongo-4e25a6d588c4eaa8495066e292e5908f05eeb926.tar.gz |
allow test not to preallocate journal files
Diffstat (limited to 'dbtests')
-rw-r--r-- | dbtests/framework.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dbtests/framework.cpp b/dbtests/framework.cpp index 99fcad51d97..95ed8b33668 100644 --- a/dbtests/framework.cpp +++ b/dbtests/framework.cpp @@ -209,6 +209,7 @@ namespace mongo { hidden_options.add_options() ("suites", po::value< vector<string> >(), "test suites to run") + ("nopreallocj", "disable journal prealloc") ; positional_options.add("suites", -1); @@ -247,6 +248,10 @@ namespace mongo { cmdLine.dur = true; } + if( params.count("nopreallocj") ) { + cmdLine.preallocj = false; + } + if (params.count("debug") || params.count("verbose") ) { logLevel = 1; } |