From: Patrick Donnelly Date: Fri, 5 Jun 2020 02:49:09 +0000 (-0700) Subject: qa: use status from wait_for_daemons X-Git-Tag: v15.2.5~172^2~21 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=561c2e5ed1d369e310e972a6d53978b5a2dc93f7;p=ceph.git qa: use status from wait_for_daemons Avoid an extra `fs dump` call. Signed-off-by: Patrick Donnelly (cherry picked from commit ddb18091a64b29bb69aafa2941cda01e3f749cf5) --- diff --git a/qa/tasks/cephfs/test_exports.py b/qa/tasks/cephfs/test_exports.py index abaf92e6bdae..c56f6aaf8675 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, [])