-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v3.6
-
Sharding 2020-04-20
-
0
The config_server_checks.js test runs
rst.nodes[0].adminCommand(
{replSetInitiate: conf});
We expect this to cause a network exception due to the node removing itself, but if it does not we should check the result of the command and assert if it is not OK. Otherwise it will fail in
expectState(rst, ReplSetTest.State.REMOVED);
which makes it harder to see that the problem was that the initiate failed, not that the node didn't become REMOVED.