summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/dist_lock_catalog_replset_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/dist_lock_catalog_replset_test.cpp')
-rw-r--r--src/mongo/db/s/dist_lock_catalog_replset_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/s/dist_lock_catalog_replset_test.cpp b/src/mongo/db/s/dist_lock_catalog_replset_test.cpp
index aedba30df96..a05f6db250d 100644
--- a/src/mongo/db/s/dist_lock_catalog_replset_test.cpp
+++ b/src/mongo/db/s/dist_lock_catalog_replset_test.cpp
@@ -503,8 +503,9 @@ TEST_F(DistLockCatalogReplSetTest, GrabLockDupKeyError) {
});
onCommand([](const RemoteCommandRequest& request) -> StatusWith<BSONObj> {
- return Status({DuplicateKeyErrorInfo(BSON("x" << 1), BSON("" << 1), BSONObj{}),
- "Mock duplicate key error"});
+ return Status(
+ {DuplicateKeyErrorInfo(BSON("x" << 1), BSON("" << 1), BSONObj{}, stdx::monostate{}),
+ "Mock duplicate key error"});
});
future.default_timed_get();