]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/rgw: Cluster.admin() returns output as utf-8 str
authorCasey Bodley <cbodley@redhat.com>
Mon, 4 May 2020 20:39:59 +0000 (16:39 -0400)
committerKefu Chai <kchai@redhat.com>
Wed, 3 Jun 2020 11:57:00 +0000 (19:57 +0800)
commit628729612b293f3812cb5641de6a92daf3d61858
treee48834ffeef3767dea66948be719fcdf7d1ac9cc
parentba7ef0ed833b1b3522e37910356a89299647a9e9
test/rgw: Cluster.admin() returns output as utf-8 str

fixes the TypeError:

  File "rgw_multi/tests.py", line 1107, in test_bucket_sync_disable
    check_buckets_sync_status_obj_not_exist(zone, buckets)
  File "rgw_multi/tests.py", line 438, in check_buckets_sync_status_obj_not_exist
    if log_list.find(':'+bucket+":") >= 0:
TypeError: argument should be integer or bytes-like object, not 'str'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit ff5ce2cf1457e1945aea0fe4a023bc48bffe1174)
src/test/rgw/test_multi.py