From ddb18091a64b29bb69aafa2941cda01e3f749cf5 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 4 Jun 2020 19:49:09 -0700 Subject: [PATCH] qa: use status from wait_for_daemons Avoid an extra `fs dump` call. Signed-off-by: Patrick Donnelly --- qa/tasks/cephfs/test_exports.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qa/tasks/cephfs/test_exports.py b/qa/tasks/cephfs/test_exports.py index abaf92e6bda..c56f6aaf867 100644 --- a/qa/tasks/cephfs/test_exports.py +++ b/qa/tasks/cephfs/test_exports.py @@ -98,9 +98,7 @@ class TestExports(CephFSTestCase): def test_export_pin_getfattr(self): self.fs.set_max_mds(2) - self.fs.wait_for_daemons() - - status = self.fs.status() + status = self.fs.wait_for_daemons() self.mount_a.run_shell(["mkdir", "-p", "1/2/3"]) self._wait_subtrees(status, 0, []) -- 2.39.5