From: Douglas Fuller Date: Wed, 13 Sep 2017 18:00:20 +0000 (-0400) Subject: qa/cephfs: Fix error in test_filtered_df X-Git-Tag: v12.2.1~6^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F17878%2Fhead;p=ceph.git qa/cephfs: Fix error in test_filtered_df ceph df accounts for pool size, so there is no need to do it in the test. Fixes: http://tracker.ceph.com/issues/21381 Signed-off-by: Douglas Fuller (cherry picked from commit b059cb6290d81df07bd8ec4e1ec9ef0be24892a2) --- diff --git a/qa/tasks/cephfs/test_misc.py b/qa/tasks/cephfs/test_misc.py index 77ca07a194a1..db362764b33c 100644 --- a/qa/tasks/cephfs/test_misc.py +++ b/qa/tasks/cephfs/test_misc.py @@ -147,5 +147,5 @@ class TestMisc(CephFSTestCase): fs_avail = output.split('\n')[1].split()[3] fs_avail = float(fs_avail) * 1024 - ratio = (raw_avail / pool_size) / fs_avail + ratio = raw_avail / fs_avail assert 0.9 < ratio < 1.1