diff options
author | Jane Zhu <jzhu116@bloomberg.net> | 2023-12-07 19:02:28 +0100 |
---|---|---|
committer | Juan Zhu <jzhu4@dev-10-34-20-139.pw1.bcc.bloomberg.com> | 2024-01-10 22:36:35 +0100 |
commit | a15b7d1cc5197f778d2fe0f4a8c2fb2be6cd9435 (patch) | |
tree | 80f64b3de8f9955d6330752a11a09f2951c76dc7 /src/test/rgw | |
parent | rgw/lc: do not add datalog/bilog for some lc actions (diff) | |
download | ceph-a15b7d1cc5197f778d2fe0f4a8c2fb2be6cd9435.tar.xz ceph-a15b7d1cc5197f778d2fe0f4a8c2fb2be6cd9435.zip |
rgw/lc: remove default arguments in virtual functions
Signed-off-by: Juan Zhu <jzhu4@dev-10-34-20-139.pw1.bcc.bloomberg.com>
Diffstat (limited to 'src/test/rgw')
-rw-r--r-- | src/test/rgw/test_d4n_filter.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/rgw/test_d4n_filter.cc b/src/test/rgw/test_d4n_filter.cc index 4f54d9b86bb..b1483f26e0d 100644 --- a/src/test/rgw/test_d4n_filter.cc +++ b/src/test/rgw/test_d4n_filter.cc @@ -169,7 +169,7 @@ class D4NFilterFixture : public ::testing::Test { &if_match, &if_nomatch, &user_data, &zones_trace, &canceled, - rctx); + rctx, true); return ret; } @@ -429,7 +429,7 @@ TEST_F(D4NFilterFixture, CopyObjectReplace) { &if_match, &if_nomatch, &user_data, &zones_trace, &canceled, - rctx), 0); + rctx, true), 0); unique_ptr<rgw::sal::Object> testObject_copy = testBucket->get_object(rgw_obj_key("test_object_copy")); @@ -554,7 +554,7 @@ TEST_F(D4NFilterFixture, CopyObjectMerge) { &if_match, &if_nomatch, &user_data, &zones_trace, &canceled, - rctx), 0); + rctx, true), 0); unique_ptr<rgw::sal::Object> testObject_copy = testBucket->get_object(rgw_obj_key("test_object_copy")); @@ -639,7 +639,7 @@ TEST_F(D4NFilterFixture, DelObject) { unique_ptr<rgw::sal::Object::DeleteOp> testDOp = testObject_DelObject->get_delete_op(); EXPECT_NE(testDOp, nullptr); - EXPECT_EQ(testDOp->delete_obj(dpp, null_yield), 0); + EXPECT_EQ(testDOp->delete_obj(dpp, null_yield, true), 0); /* Check the object does not exist after delete op */ client.exists(keys, [](cpp_redis::reply& reply) { @@ -1881,7 +1881,7 @@ TEST_F(D4NFilterFixture, DataCheck) { &if_match, &if_nomatch, &user_data, &zones_trace, &canceled, - rctx), 0); + rctx, true), 0); client.hget("rgw-object:test_object_DataCheck:cache", "data", [&data](cpp_redis::reply& reply) { if (reply.is_string()) { @@ -1906,7 +1906,7 @@ TEST_F(D4NFilterFixture, DataCheck) { &if_match, &if_nomatch, &user_data, &zones_trace, &canceled, - rctx), 0); + rctx, true), 0); client.hget("rgw-object:test_object_DataCheck:cache", "data", [&dataNew](cpp_redis::reply& reply) { if (reply.is_string()) { |