From b059cb6290d81df07bd8ec4e1ec9ef0be24892a2 Mon Sep 17 00:00:00 2001 From: Douglas Fuller Date: Wed, 13 Sep 2017 14:00:20 -0400 Subject: [PATCH] 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 --- qa/tasks/cephfs/test_misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/cephfs/test_misc.py b/qa/tasks/cephfs/test_misc.py index 77ca07a194a..db362764b33 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 -- 2.39.5