]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/cls: rename cls_refcount tests
authorCasey Bodley <cbodley@redhat.com>
Mon, 12 Jun 2023 18:15:28 +0000 (14:15 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 12 Jun 2023 18:15:31 +0000 (14:15 -0400)
test cases were copy/pasted from test_cls_rgw.cc without renaming

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/test/cls_refcount/test_cls_refcount.cc

index 2868b48b660b37e4d7c44cc36547c9fa0be8c441..b075f8210c8fc8158efd831abeb865806dd2cd9c 100644 (file)
@@ -17,7 +17,7 @@ static librados::ObjectWriteOperation *new_op() {
   return new librados::ObjectWriteOperation();
 }
 
-TEST(cls_rgw, test_implicit) /* test refcount using implicit referencing of newly created objects */
+TEST(cls_refcount, test_implicit) /* test refcount using implicit referencing of newly created objects */
 {
   librados::Rados rados;
   librados::IoCtx ioctx;
@@ -118,7 +118,7 @@ TEST(cls_rgw, test_implicit) /* test refcount using implicit referencing of newl
  * similar to test_implicit, just changes the order of the tags removal
  * see issue #20107
  */
-TEST(cls_rgw, test_implicit_idempotent) /* test refcount using implicit referencing of newly created objects */
+TEST(cls_refcount, test_implicit_idempotent) /* test refcount using implicit referencing of newly created objects */
 {
   librados::Rados rados;
   librados::IoCtx ioctx;
@@ -216,7 +216,7 @@ TEST(cls_rgw, test_implicit_idempotent) /* test refcount using implicit referenc
 }
 
 
-TEST(cls_rgw, test_put_snap) {
+TEST(cls_refcount, test_put_snap) {
   librados::Rados rados;
   librados::IoCtx ioctx;
   string pool_name = get_temp_pool_name();
@@ -249,7 +249,7 @@ TEST(cls_rgw, test_put_snap) {
   ASSERT_EQ(0, destroy_one_pool_pp(pool_name, rados));
 }
 
-TEST(cls_rgw, test_explicit) /* test refcount using implicit referencing of newly created objects */
+TEST(cls_refcount, test_explicit) /* test refcount using implicit referencing of newly created objects */
 {
   librados::Rados rados;
   librados::IoCtx ioctx;
@@ -325,7 +325,7 @@ TEST(cls_rgw, test_explicit) /* test refcount using implicit referencing of newl
   ASSERT_EQ(0, destroy_one_pool_pp(pool_name, rados));
 }
 
-TEST(cls_rgw, set) /* test refcount using implicit referencing of newly created objects */
+TEST(cls_refcount, set) /* test refcount using implicit referencing of newly created objects */
 {
   librados::Rados rados;
   librados::IoCtx ioctx;
@@ -397,7 +397,7 @@ TEST(cls_rgw, set) /* test refcount using implicit referencing of newly created
   ASSERT_EQ(0, destroy_one_pool_pp(pool_name, rados));
 }
 
-TEST(cls_rgw, test_implicit_ec) /* test refcount using implicit referencing of newly created objects */
+TEST(cls_refcount, test_implicit_ec) /* test refcount using implicit referencing of newly created objects */
 {
   librados::Rados rados;
   librados::IoCtx ioctx;
@@ -498,7 +498,7 @@ TEST(cls_rgw, test_implicit_ec) /* test refcount using implicit referencing of n
  * similar to test_implicit, just changes the order of the tags removal
  * see issue #20107
  */
-TEST(cls_rgw, test_implicit_idempotent_ec) /* test refcount using implicit referencing of newly created objects */
+TEST(cls_refcount, test_implicit_idempotent_ec) /* test refcount using implicit referencing of newly created objects */
 {
   librados::Rados rados;
   librados::IoCtx ioctx;
@@ -596,7 +596,7 @@ TEST(cls_rgw, test_implicit_idempotent_ec) /* test refcount using implicit refer
 }
 
 
-TEST(cls_rgw, test_put_snap_ec) {
+TEST(cls_refcount, test_put_snap_ec) {
   librados::Rados rados;
   librados::IoCtx ioctx;
   string pool_name = get_temp_pool_name();
@@ -629,7 +629,7 @@ TEST(cls_rgw, test_put_snap_ec) {
   ASSERT_EQ(0, destroy_one_ec_pool_pp(pool_name, rados));
 }
 
-TEST(cls_rgw, test_explicit_ec) /* test refcount using implicit referencing of newly created objects */
+TEST(cls_refcount, test_explicit_ec) /* test refcount using implicit referencing of newly created objects */
 {
   librados::Rados rados;
   librados::IoCtx ioctx;
@@ -705,7 +705,7 @@ TEST(cls_rgw, test_explicit_ec) /* test refcount using implicit referencing of n
   ASSERT_EQ(0, destroy_one_ec_pool_pp(pool_name, rados));
 }
 
-TEST(cls_rgw, set_ec) /* test refcount using implicit referencing of newly created objects */
+TEST(cls_refcount, set_ec) /* test refcount using implicit referencing of newly created objects */
 {
   librados::Rados rados;
   librados::IoCtx ioctx;