Skip to content

Commit

Permalink
qa: move super.tearDown() at the end of the child tearDown() in test_…
Browse files Browse the repository at this point in the history
…mds_dmclock_qos.py

Signed-off-by: Yongseok Oh <yongseok.oh@linecorp.com>
  • Loading branch information
yongseokoh committed Jul 15, 2021
1 parent 82dccc8 commit 2fee15a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qa/tasks/cephfs/test_mds_dmclock_qos.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ def setUp(self):
self.mount_b.run_shell(['sudo', 'chown', "{0}:{1}".format(getuid(), getgid()), self.mount_b.hostfs_mntpt])

def tearDown(self):
super(TestMDSDmclockQoS, self).tearDown()

self.mount_a.umount_wait()
self.mount_b.umount_wait()

Expand All @@ -63,6 +61,8 @@ def tearDown(self):

self.fs.set_max_mds(1)

super(TestMDSDmclockQoS, self).tearDown()

def _fs_cmd(self, *args):
return self.mgr_cluster.mon_manager.raw_cluster_cmd("-c", "ceph.conf", "-k", "keyring", "fs", *args)

Expand Down

0 comments on commit 2fee15a

Please sign in to comment.