qa/tasks/cephfs/test_scrub: fix self.assertEqual no attribute '_type_equality_funcs'

Signed-off-by: Xiubo Li <xiubli@redhat.com>
This commit is contained in:
Xiubo Li 2020-04-23 01:08:04 -04:00
parent f80ce9ec07
commit 89d0649088

View File

@ -13,6 +13,7 @@ ValidationError = namedtuple("ValidationError", ["exception", "backtrace"])
class Workload(CephFSTestCase): class Workload(CephFSTestCase):
def __init__(self, filesystem, mount): def __init__(self, filesystem, mount):
super().__init__()
self._mount = mount self._mount = mount
self._filesystem = filesystem self._filesystem = filesystem
self._initial_state = None self._initial_state = None
@ -109,6 +110,9 @@ class DupInodeWorkload(Workload):
class TestScrub(CephFSTestCase): class TestScrub(CephFSTestCase):
MDSS_REQUIRED = 1 MDSS_REQUIRED = 1
def setUp(self):
super().setUp()
def _scrub(self, workload, workers=1): def _scrub(self, workload, workers=1):
""" """
That when all objects in metadata pool are removed, we can rebuild a metadata pool That when all objects in metadata pool are removed, we can rebuild a metadata pool