summaryrefslogtreecommitdiff
path: root/src/mongo/shell/servers.js
diff options
context:
space:
mode:
authorGeert Bosch <geert@mongodb.com>2018-06-20 16:56:05 -0400
committerGeert Bosch <geert@mongodb.com>2018-07-05 08:20:56 -0400
commit711c076ef57c0ce3517ab9385c2fd3a005c941b3 (patch)
tree840d01aa7eb8f341a098e9d0387e17a942a71f3a /src/mongo/shell/servers.js
parenta76888797c5713382aa7139157880aad2db378d5 (diff)
downloadmongo-711c076ef57c0ce3517ab9385c2fd3a005c941b3.tar.gz
SERVER-35715 Remove nopreallocj and smallfiles options from tests
Diffstat (limited to 'src/mongo/shell/servers.js')
-rw-r--r--src/mongo/shell/servers.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js
index 2939cbc4f51..2506259d984 100644
--- a/src/mongo/shell/servers.js
+++ b/src/mongo/shell/servers.js
@@ -238,7 +238,6 @@ var MongoRunner, _startMongod, startMongoProgram, runMongoProgram, startMongoPro
noReplSet: true,
forgetPort: true,
arbiter: true,
- noJournalPrealloc: true,
noJournal: true,
binVersion: true,
waitForConnect: true,
@@ -362,11 +361,6 @@ var MongoRunner, _startMongod, startMongoProgram, runMongoProgram, startMongoPro
if (!o.binVersion)
return true;
- // Version 1.x options
- if (o.binVersion.startsWith("1.")) {
- return ["nopreallocj"].indexOf(option) < 0;
- }
-
return true;
};
@@ -580,7 +574,6 @@ var MongoRunner, _startMongod, startMongoProgram, runMongoProgram, startMongoPro
* useLogFiles {boolean}: use with logFile option.
* logFile {string}: path to the log file. If not specified and useLogFiles
* is true, automatically creates a log file inside dbpath.
- * noJournalPrealloc {boolean}
* noJournal {boolean}
* keyFile
* replSet
@@ -609,9 +602,6 @@ var MongoRunner, _startMongod, startMongoProgram, runMongoProgram, startMongoPro
opts.logpath = opts.logFile;
}
- if (jsTestOptions().noJournalPrealloc || opts.noJournalPrealloc)
- opts.nopreallocj = "";
-
if ((jsTestOptions().noJournal || opts.noJournal) && !('journal' in opts) &&
!('configsvr' in opts)) {
opts.nojournal = "";