Revert "remove old code for running 'test' binary with journaling enabled (journaling is now the default)"

This reverts commit c409dd93ec121d607c177424165104749f610dfb.
This commit is contained in:
Aaron
2011-12-03 15:23:30 -08:00
parent 12c246fc60
commit 7ff9fec936

View File

@@ -304,6 +304,13 @@ namespace mongo {
log() << "32bit" << endl;
log() << "random seed: " << seed << endl;
if( time(0) % 3 == 0 && !nodur ) {
cmdLine.dur = true;
log() << "****************" << endl;
log() << "running with journaling enabled to test that. dbtests will do this occasionally even if --dur is not specified." << endl;
log() << "****************" << endl;
}
FileAllocator::get()->start();
vector<string> suites;