X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fqa%2Ftasks%2Fcephfs%2Ftest_journal_repair.py;h=61037b96d7320d3f4d48d67e2cfbf10bfdb8c324;hb=e306af509c4d4816a1f73b17a825ea5186fa0030;hp=a52455d7100072895e23b18c3ac1018d24e62c62;hpb=5164c6f75c1d9ca9e83f6172e1cd48f9ab584acf;p=ceph.git diff --git a/ceph/qa/tasks/cephfs/test_journal_repair.py b/ceph/qa/tasks/cephfs/test_journal_repair.py index a52455d71..61037b96d 100644 --- a/ceph/qa/tasks/cephfs/test_journal_repair.py +++ b/ceph/qa/tasks/cephfs/test_journal_repair.py @@ -92,8 +92,7 @@ class TestJournalRepair(CephFSTestCase): self.fs.wait_for_daemons() # List files - self.mount_a.mount() - self.mount_a.wait_until_mounted() + self.mount_a.mount_wait() # First ls -R to populate MDCache, such that hardlinks will # resolve properly (recover_dentries does not create backtraces, @@ -102,8 +101,7 @@ class TestJournalRepair(CephFSTestCase): # FIXME: hook in forward scrub here to regenerate backtraces proc = self.mount_a.run_shell(['ls', '-R']) self.mount_a.umount_wait() # remount to clear client cache before our second ls - self.mount_a.mount() - self.mount_a.wait_until_mounted() + self.mount_a.mount_wait() proc = self.mount_a.run_shell(['ls', '-R']) self.assertEqual(proc.stdout.getvalue().strip(), @@ -278,7 +276,7 @@ class TestJournalRepair(CephFSTestCase): self.fs.mds_fail_restart(active_mds_names[0]) self.wait_until_equal(lambda: self.fs.get_active_names(), [active_mds_names[0]], 30, reject_fn=lambda v: len(v) > 1) - self.mount_a.mount() + self.mount_a.mount_wait() self.mount_a.run_shell(["ls", "-R"], wait=True) def test_table_tool(self): @@ -434,7 +432,7 @@ class TestJournalRepair(CephFSTestCase): self.fs.mds_restart() self.fs.wait_for_daemons() - self.mount_a.mount() + self.mount_a.mount_wait() # trivial sync moutn a workunit(self.ctx, {