]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/tasks/cephfs/test_volumes: to make sure the size is int type
authorXiubo Li <xiubli@redhat.com>
Fri, 24 Apr 2020 01:08:23 +0000 (21:08 -0400)
committerXiubo Li <xiubli@redhat.com>
Fri, 24 Apr 2020 09:05:54 +0000 (05:05 -0400)
commitafe19f24baf3983a42f6213c04efc20307c286d2
tree57333272344655b65bca69925325375f0f241242
parent65f97690af8ca49e7a8b508621bf47d4fc004853
qa/tasks/cephfs/test_volumes: to make sure the size is int type

Fix "Error EINVAL: invalid size option '4915200.0'".

In pytho2 int/2 will get a int type result, but in python3 it maybe
a float type.

Fixes: https://tracker.ceph.com/issues/45247
Signed-off-by: Xiubo Li <xiubli@redhat.com>
qa/tasks/cephfs/test_volumes.py