summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl_test.cpp
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2020-01-29 18:44:59 +0000
committerevergreen <evergreen@mongodb.com>2020-01-29 18:44:59 +0000
commit4a62f87856ee58e2a2f8dbf98ee671c03447c8da (patch)
treeaa7b8f533a713e10d707631d418d83522f845c2a /src/mongo/db/repl/replication_coordinator_impl_test.cpp
parentd1fe1746711948441c7a366059e58afbd6b05bd8 (diff)
downloadmongo-4a62f87856ee58e2a2f8dbf98ee671c03447c8da.tar.gz
SERVER-45084 Audit all usages of ReplSetConfig::getConfigVersion()
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl_test.cpp')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_test.cpp
index a708941155d..71c709f0727 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_test.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_test.cpp
@@ -289,7 +289,8 @@ TEST_F(ReplCoordTest,
<< "node2:12345"))),
&result1);
ASSERT_EQUALS(ErrorCodes::InvalidReplicaSetConfig, status);
- ASSERT_STRING_CONTAINS(status.reason(), "is not electable under the new configuration version");
+ ASSERT_STRING_CONTAINS(status.reason(),
+ "is not electable under the new configuration with term");
ASSERT_FALSE(getExternalState()->threadsStarted());
}