Skip to content

Commit a8bd517

Browse files
authored
Merge pull request ceph#64000 from ronen-fr/wip-rf-testd4n
test/rgw/test_d4n_filter: remove unused captures Reviewed-by: Pritha Srivastava <[email protected]> Reviewed-by: Casey Bodley <[email protected]> Reviewed-by: Samarah <[email protected]>
2 parents 5db3fd5 + 95101f0 commit a8bd517

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/rgw/test_d4n_filter.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3160,7 +3160,7 @@ TEST_F(D4NFilterFixture, SimpleDeleteBeforeCleaning)
31603160

31613161
io.run_for(std::chrono::seconds(2)); // Allow cleaning cycle to complete
31623162

3163-
net::spawn(io, [this, &testName, &bucketName, &deleteMarker, &location] (net::yield_context yield) {
3163+
net::spawn(io, [this] (net::yield_context yield) {
31643164
dynamic_cast<rgw::d4n::LFUDAPolicy*>(d4nFilter->get_policy_driver()->get_cache_policy())->save_y(optional_yield{yield});
31653165

31663166
std::unique_ptr<rgw::sal::Object::ReadOp> read_op(objEnabled->get_read_op());
@@ -3420,7 +3420,7 @@ TEST_F(D4NFilterFixture, VersionedDeleteAfterCleaning)
34203420

34213421
io.run_for(std::chrono::seconds(2));
34223422

3423-
net::spawn(io, [this, &testName, &bucketName, &instances] (net::yield_context yield) {
3423+
net::spawn(io, [this] (net::yield_context yield) {
34243424
dynamic_cast<rgw::d4n::LFUDAPolicy*>(d4nFilter->get_policy_driver()->get_cache_policy())->save_y(optional_yield{yield});
34253425

34263426
/* TODO: Cleaning method removes head object, so delete_obj calls after a cleaning cycle will not find the head object and will immediately call the backend's delete_obj,

0 commit comments

Comments
 (0)