0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
mongodb/jstests/replsets/replsettest_control_1_node.js

13 lines
506 B
JavaScript

/**
* This test serves as a baseline for measuring the scalability of the ReplSetTest fixture.
*
* It allows us to compare the performance of the setup and teardown procedures of ReplSetTest with
* a single node against the performance with many nodes, to see how the fixture scales. See the
* 'replsettest_control_12_nodes.js' test.
*/
(function() {
const replTest = new ReplSetTest({name: 'replsettest_control_1_node', nodes: 1});
replTest.startSet();
replTest.initiate();
replTest.stopSet();
})();