2019-07-08 16:31:49 +02:00
|
|
|
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";
|
2019-07-24 19:10:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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";
|
2019-07-08 16:31:49 +02:00
|
|
|
}
|