0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/jstests/replsets/rollback_test_control.js
2020-04-13 21:57:52 +00:00

16 lines
468 B
JavaScript

/**
* This test serves as a baseline for measuring the performance of the RollbackTest fixture.
*/
(function() {
'use strict';
load("jstests/replsets/libs/rollback_test.js");
let rollbackTest = new RollbackTest();
rollbackTest.transitionToRollbackOperations();
rollbackTest.transitionToSyncSourceOperationsBeforeRollback();
rollbackTest.transitionToSyncSourceOperationsDuringRollback();
rollbackTest.transitionToSteadyStateOperations();
rollbackTest.stop();
}());