2019-10-14 16:48:38 +00:00
|
|
|
/**
|
|
|
|
|
* 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.
|
|
|
|
|
*/
|
2024-08-20 17:54:15 -04:00
|
|
|
import {ReplSetTest} from "jstests/libs/replsettest.js";
|
|
|
|
|
|
2025-08-21 10:17:44 -07:00
|
|
|
const replTest = new ReplSetTest({name: "replsettest_control_1_node", nodes: 1});
|
2019-10-14 16:48:38 +00:00
|
|
|
replTest.startSet();
|
|
|
|
|
replTest.initiate();
|
2025-08-21 10:17:44 -07:00
|
|
|
replTest.stopSet();
|