mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
12 lines
226 B
JavaScript
12 lines
226 B
JavaScript
/**
|
|
* 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();
|
|
})(); |