]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/rgw: use "a // b" instead of "a / b"
authorKefu Chai <kchai@redhat.com>
Sat, 4 Apr 2020 16:20:42 +0000 (00:20 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 7 Apr 2020 12:33:47 +0000 (20:33 +0800)
commit253fc931800a0fac8f86c9228f58ba096f58dfeb
tree826b5296d8325f7946da606a06029fdf44e311d8
parent2089bf04b9c3b4bb065bf4c0bafa97419f2d87ff
test/rgw: use "a // b" instead of "a / b"

for expressions where the value is expected to be integer. as in
python3, `a / b` returns a float.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/rgw/rgw_multi/tests_es.py
src/test/rgw/rgw_multi/zone_cloud.py
src/test/rgw/rgw_multi/zone_es.py