]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/rgw: test_rgw_reshard.py just tries common ports
authorCasey Bodley <cbodley@redhat.com>
Mon, 18 Jan 2021 21:59:05 +0000 (16:59 -0500)
committerDan van der Ster <daniel.vanderster@cern.ch>
Mon, 11 Apr 2022 07:21:55 +0000 (09:21 +0200)
commitb38c718c89253c856d097347ec5c95764f1d3603
tree7c8fb3309e5972aa78c3da5d1e5d8ece56e1ebdc
parentac978832a85a67de60a49b34ed497d7075f4b151
qa/rgw: test_rgw_reshard.py just tries common ports

the 'sudo netstat | grep radosgw' command is causing failures:

  File "qa/workunits/rgw/test_rgw_reshard.py", line 53, in get_radosgw_port
    x = out.decode('utf8').split(" ")
AttributeError: 'bool' object has no attribute 'decode'

because when valgrind is enabled, the process name is 'valgrind' instead
of 'radosgw'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit a635e523be975030639dde7350dcf8fc275db4da)
qa/workunits/rgw/test_rgw_reshard.py