]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/cls_rgw: test bi_list for objects with non-ascii names
authorMykola Golub <mgolub@suse.com>
Wed, 28 Apr 2021 06:17:09 +0000 (07:17 +0100)
committerMykola Golub <mgolub@suse.com>
Wed, 9 Jun 2021 05:25:48 +0000 (08:25 +0300)
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 878d9510b4c9c0cc944740642e3342fdcb341936)

src/test/cls_rgw/test_cls_rgw.cc

index 330c91a68ddd8f4d5d0dfc5f0aebca868491da53..207973cde7f160640a5e65915522bf9c721c463d 100644 (file)
@@ -580,7 +580,7 @@ TEST_F(cls_rgw, bi_list)
   uint64_t num_objs = 35;
 
   for (uint64_t i = 0; i < num_objs; i++) {
-    string obj = str_int("obj", i);
+    string obj = str_int(i % 4 ? "obj" : "об'єкт", i);
     string tag = str_int("tag", i);
     string loc = str_int("loc", i);
     index_prepare(ioctx, bucket_oid, CLS_RGW_OP_ADD, tag, obj, loc,