diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2019-01-16 22:08:41 -0500 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2019-01-16 22:08:41 -0500 |
commit | a84cdf9178c4d64c556ab49bb15abf4e866e668f (patch) | |
tree | e987fe169ac61ce3c4b433acf07ab279841fcfc5 /src | |
parent | 97821dfa13cccb5acad6faef0f536e3d5d77d678 (diff) | |
download | mongo-a84cdf9178c4d64c556ab49bb15abf4e866e668f.tar.gz |
SERVER-39007 Use rhel62-large distro for InMemory's concurrency* tasks.
* Changes resmoke.py to propagate --storageEngineCacheSizeGB as
--inMemorySizeGB when running with the InMemory storage engine.
* Changes the mongo shell to propagate
TestData.storageEngineCacheSizeGB as --inMemorySizeGB when running
with the InMemory storage engine.
* Sets --storageEngineCacheSizeGB=4 when running with the InMemory
storage engine in Evergreen.
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/shell/servers.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js index 61cb853173d..d636bdb470d 100644 --- a/src/mongo/shell/servers.js +++ b/src/mongo/shell/servers.js @@ -1177,6 +1177,12 @@ var MongoRunner, _startMongod, startMongoProgram, runMongoProgram, startMongoPro argArray.push(...['--rocksdbCacheSizeGB', jsTest.options().storageEngineCacheSizeGB]); } + } else if (jsTest.options().storageEngine === "inMemory") { + if (jsTest.options().storageEngineCacheSizeGB && + !argArrayContains("--inMemorySizeGB")) { + argArray.push( + ...["--inMemorySizeGB", jsTest.options().storageEngineCacheSizeGB]); + } } // apply setParameters for mongod. The 'setParameters' field should be given as // a plain JavaScript object, where each key is a parameter name and the value |