allow test not to preallocate journal files
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user