From: Xiubo Li Date: Thu, 23 Apr 2020 05:08:04 +0000 (-0400) Subject: qa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs' X-Git-Tag: v14.2.10~17^2~34 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0630e67ddb67ccf7ebc30af57e7892ddfd930e67;p=ceph.git qa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs' Signed-off-by: Xiubo Li (cherry picked from commit 89d06490886fb5cf840cadde49913dd497c14cf8) --- diff --git a/qa/tasks/cephfs/test_scrub.py b/qa/tasks/cephfs/test_scrub.py index e4f0cb9beb32..226db815740f 100644 --- a/qa/tasks/cephfs/test_scrub.py +++ b/qa/tasks/cephfs/test_scrub.py @@ -13,6 +13,7 @@ ValidationError = namedtuple("ValidationError", ["exception", "backtrace"]) class Workload(CephFSTestCase): def __init__(self, filesystem, mount): + super().__init__() self._mount = mount self._filesystem = filesystem self._initial_state = None @@ -109,6 +110,9 @@ class DupInodeWorkload(Workload): class TestScrub(CephFSTestCase): MDSS_REQUIRED = 1 + def setUp(self): + super().setUp() + def _scrub(self, workload, workers=1): """ That when all objects in metadata pool are removed, we can rebuild a metadata pool