summaryrefslogtreecommitdiffstats
path: root/src/test/cls_rgw/test_cls_rgw.cc
diff options
context:
space:
mode:
authorCasey Bodley <cbodley@users.noreply.github.com>2018-12-06 21:29:38 +0100
committerGitHub <noreply@github.com>2018-12-06 21:29:38 +0100
commiteec7ad2dbb6639936740d8e522eb49959477ed35 (patch)
treeeaf2738fc44c8cae2a5fdbe5b5a210ff01e09b48 /src/test/cls_rgw/test_cls_rgw.cc
parentMerge pull request #25406 from taoCH/wip-librgw-sync-user-regularly (diff)
parentrgw: fix typo (diff)
downloadceph-eec7ad2dbb6639936740d8e522eb49959477ed35.tar.xz
ceph-eec7ad2dbb6639936740d8e522eb49959477ed35.zip
Merge pull request #25142 from ivancich/wip-rgw-reshard-cleanup
rgw: reshard clean-up and associated commits Reviewed-by: Casey Bodley <cbodley@redhat.com> Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Diffstat (limited to 'src/test/cls_rgw/test_cls_rgw.cc')
-rw-r--r--src/test/cls_rgw/test_cls_rgw.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/cls_rgw/test_cls_rgw.cc b/src/test/cls_rgw/test_cls_rgw.cc
index a248eb802c1..d72a394ccb6 100644
--- a/src/test/cls_rgw/test_cls_rgw.cc
+++ b/src/test/cls_rgw/test_cls_rgw.cc
@@ -116,7 +116,7 @@ TEST(cls_rgw, index_basic)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t epoch = 1;
@@ -150,7 +150,7 @@ TEST(cls_rgw, index_multiple_obj_writers)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t obj_size = 1024;
@@ -187,7 +187,7 @@ TEST(cls_rgw, index_remove_object)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t obj_size = 1024;
@@ -279,7 +279,7 @@ TEST(cls_rgw, index_suggest)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t total_size = 0;
@@ -390,7 +390,7 @@ TEST(cls_rgw, index_list)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
uint64_t epoch = 1;
@@ -452,7 +452,7 @@ TEST(cls_rgw, bi_list)
OpMgr mgr;
ObjectWriteOperation *op = mgr.write_op();
- cls_rgw_bucket_init(*op);
+ cls_rgw_bucket_init_index(*op);
ASSERT_EQ(0, ioctx.operate(bucket_oid, op));
string name;