summaryrefslogtreecommitdiff
path: root/jstests/replsets/replsettest_remove_then_stopset.js
blob: bca9aeccb9dfdd849215cff9f4f16099dad52b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * Tests that it is safe to call stopSet() after a remove() in ReplSetTest.
 */

(function() {
"use strict";

const replTest = new ReplSetTest({nodes: 1});
replTest.startSet();
replTest.remove(0);
replTest.stopSet();
})();