Files
mongo/jstests/replsets/oplog_rollover.js
Zac 591928c619 SERVER-108478 JS formatted by prettier and remove clang-format (#39656)
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00

15 lines
527 B
JavaScript

/**
* Test that oplog (on both primary and secondary) rolls over when its size exceeds the configured
* maximum. This test runs on wiredTiger storage engine and inMemory storage engine (if available).
*/
import {oplogRolloverTest} from "jstests/replsets/libs/oplog_rollover_test.js";
oplogRolloverTest("wiredTiger");
if (jsTest.options().storageEngine !== "inMemory") {
jsTestLog("Skipping inMemory test because inMemory storageEngine was not compiled into the server.");
quit();
}
oplogRolloverTest("inMemory");