diff options
Diffstat (limited to 'src/mongo/db/repl/topology_coordinator_v1_test.cpp')
-rw-r--r-- | src/mongo/db/repl/topology_coordinator_v1_test.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/repl/topology_coordinator_v1_test.cpp b/src/mongo/db/repl/topology_coordinator_v1_test.cpp index 1f4864379c2..cc431e3e7a4 100644 --- a/src/mongo/db/repl/topology_coordinator_v1_test.cpp +++ b/src/mongo/db/repl/topology_coordinator_v1_test.cpp @@ -1804,6 +1804,7 @@ TEST_F(TopoCoordTest, ReplSetGetStatus) { ASSERT_FALSE(selfStatus.hasField("pingMs")); ASSERT_EQUALS(2000, rsStatus["heartbeatIntervalMillis"].numberInt()); + ASSERT_EQUALS(3, rsStatus["majorityVoteCount"].numberInt()); ASSERT_BSONOBJ_EQ(initialSyncStatus, rsStatus["initialSyncStatus"].Obj()); // Test no lastStableRecoveryTimestamp field. |