mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
0fafa4fe27
This is required when the test would otherwise pass after the changes
from 8821cdb550
.
18 lines
569 B
JavaScript
18 lines
569 B
JavaScript
// SERVER-28179 Test the startup of in-memory storage engine using --inMemoryEngineConfigString
|
|
(function() {
|
|
'use strict';
|
|
|
|
if (jsTest.options().storageEngine !== "inMemory") {
|
|
jsTestLog("Skipping test because storageEngine is not inMemory");
|
|
return;
|
|
}
|
|
|
|
var mongod = MongoRunner.runMongod({
|
|
storageEngine: 'inMemory',
|
|
inMemoryEngineConfigString: 'eviction=(threads_min=1)',
|
|
});
|
|
assert.neq(null, mongod, "mongod failed to started up with --inMemoryEngineConfigString");
|
|
|
|
MongoRunner.stopMongod(mongod);
|
|
}());
|