Files
mongo/jstests/libs/storage_engine/storage_engine_utils.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
612 B
JavaScript
Raw Normal View History

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";
}
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";
}