diff options
author | Rui Liu <rui.liu@mongodb.com> | 2022-02-09 16:42:49 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-02-22 16:30:10 +0000 |
commit | a3158ab422e4d8091203166c5f2601f9bfa0099d (patch) | |
tree | e77ce6c99e6a1077bdcebb9ace2ec1e94c75f50e /src/mongo/db/s/dist_lock_catalog_replset_test.cpp | |
parent | 6ca25c9e65eeb1420a4dce3cba9ae4991d6106e7 (diff) | |
download | mongo-a3158ab422e4d8091203166c5f2601f9bfa0099d.tar.gz |
SERVER-63428 Robustify oplog applying code for update operation
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.cpp | 2 |
1 files changed, 1 insertions, 1 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 780e82f6d88..aedba30df96 100644 --- a/src/mongo/db/s/dist_lock_catalog_replset_test.cpp +++ b/src/mongo/db/s/dist_lock_catalog_replset_test.cpp @@ -1246,7 +1246,7 @@ TEST_F(DistLockCatalogReplSetTest, BasicUnlockAll) { ASSERT(update.getMulti()); ASSERT_BSONOBJ_EQ(BSON(LocksType::process("processID")), update.getQ()); ASSERT_BSONOBJ_EQ(BSON("$set" << BSON(LocksType::state(LocksType::UNLOCKED))), - update.getU().getUpdateClassic()); + update.getU().getUpdateModifier()); return BSON("ok" << 1); }); |