]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: use status from wait_for_daemons
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 5 Jun 2020 02:49:09 +0000 (19:49 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 24 Jun 2020 22:43:30 +0000 (15:43 -0700)
Avoid an extra `fs dump` call.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
qa/tasks/cephfs/test_exports.py

index abaf92e6bdae138fa3b5b1183392e6bd0140d466..c56f6aaf867520e049fa7c00d21c69be00d393e7 100644 (file)
@@ -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, [])