allow test not to preallocate journal files

This commit is contained in:
gregs
2011-08-05 15:31:34 -04:00
parent a19bd10c50
commit 4e25a6d588
2 changed files with 10 additions and 0 deletions

View File

@@ -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;
}