From: Mykola Golub Date: Wed, 28 Apr 2021 06:17:09 +0000 (+0100) Subject: test/cls_rgw: test bi_list for objects with non-ascii names X-Git-Tag: v15.2.14~38^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=54a72e71a2ca28feaab47a1404df2a27d3a23229;p=ceph.git test/cls_rgw: test bi_list for objects with non-ascii names Signed-off-by: Mykola Golub (cherry picked from commit 878d9510b4c9c0cc944740642e3342fdcb341936) --- diff --git a/src/test/cls_rgw/test_cls_rgw.cc b/src/test/cls_rgw/test_cls_rgw.cc index 330c91a68ddd..207973cde7f1 100644 --- a/src/test/cls_rgw/test_cls_rgw.cc +++ b/src/test/cls_rgw/test_cls_rgw.cc @@ -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,