2019-07-08 10:31:49 -04:00
|
|
|
export 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 13:10:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export 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";
|
2023-04-26 17:50:58 +00:00
|
|
|
}
|