summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/dist_lock_manager_replset_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/dist_lock_manager_replset_test.cpp')
-rw-r--r--src/mongo/db/s/dist_lock_manager_replset_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/dist_lock_manager_replset_test.cpp b/src/mongo/db/s/dist_lock_manager_replset_test.cpp
index bd75caa8745..247bbb6cb97 100644
--- a/src/mongo/db/s/dist_lock_manager_replset_test.cpp
+++ b/src/mongo/db/s/dist_lock_manager_replset_test.cpp
@@ -1243,7 +1243,7 @@ TEST_F(DistLockManagerReplSetTest, CannotOvertakeIfNoMaster) {
} else {
getMockCatalog()->expectGetServerInfo(
[&getServerInfoCallCount]() { getServerInfoCallCount++; },
- {ErrorCodes::NotWritablePrimary, "not master"});
+ {ErrorCodes::NotWritablePrimary, "not primary"});
}
auto status = DistLockManager::get(operationContext())