]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/rgw: test_rgw_reshard.py just tries common ports 38871/head
authorCasey Bodley <cbodley@redhat.com>
Mon, 18 Jan 2021 21:59:05 +0000 (16:59 -0500)
committerCasey Bodley <cbodley@redhat.com>
Tue, 9 Feb 2021 19:26:26 +0000 (14:26 -0500)
commita635e523be975030639dde7350dcf8fc275db4da
tree0be39ad1005bbfe1110c437279b139c3281f7488
parentc706740dbe4dc0c372d8386c19affb74530af5b4
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>
qa/workunits/rgw/test_rgw_reshard.py