summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
diff options
context:
space:
mode:
authorPavi Vetriselvan <pavithra.vetriselvan@mongodb.com>2020-09-01 12:04:19 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-08 03:35:45 +0000
commitde38970c3b17250fd14ce83fb8a81d3f3e10bc69 (patch)
tree67f58abad4685171c6cdaaf5551f790fb1a45a69 /src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
parent3af444c081fea53ab85073211aa04064d399a898 (diff)
downloadmongo-de38970c3b17250fd14ce83fb8a81d3f3e10bc69.tar.gz
SERVER-50527 Change NotMasterError category to NotPrimaryError
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp')
-rw-r--r--src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
index 1a4c843523a..736e76d2368 100644
--- a/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
+++ b/src/mongo/db/repl/replication_coordinator_impl_heartbeat_v1_test.cpp
@@ -1367,7 +1367,7 @@ Future<void> HBStepdownAndReconfigTest::startReconfigCommand() {
}
if (!status.isOK()) {
- ASSERT(ErrorCodes::isNotMasterError(status.code()));
+ ASSERT(ErrorCodes::isNotPrimaryError(status.code()));
LOGV2(463817,
"processReplSetReconfig threw expected error",
"errorCode"_attr = status.code(),