mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
12 lines
597 B
JavaScript
12 lines
597 B
JavaScript
function storageEngineIsWiredTigerOrInMemory() {
|
|
// We assume that WiredTiger is the default storage engine, if the storage engine is
|
|
// unspecified in the test options.
|
|
return !jsTest.options().storageEngine || jsTest.options().storageEngine === "wiredTiger" ||
|
|
jsTest.options().storageEngine === "inMemory";
|
|
}
|
|
|
|
function storageEngineIsWiredTiger() {
|
|
// We assume that WiredTiger is the default storage engine, if the storage engine is
|
|
// unspecified in the test options.
|
|
return !jsTest.options().storageEngine || jsTest.options().storageEngine === "wiredTiger";
|
|
} |