From: Patrick Donnelly Date: Tue, 15 May 2018 01:29:32 +0000 (-0700) Subject: qa: get status to handle older api X-Git-Tag: v12.2.6~78^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F21989%2Fhead;p=ceph.git qa: get status to handle older api Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/cephfs/test_exports.py b/qa/tasks/cephfs/test_exports.py index 692403d3ac2..2c62313592e 100644 --- a/qa/tasks/cephfs/test_exports.py +++ b/qa/tasks/cephfs/test_exports.py @@ -115,8 +115,9 @@ class TestExports(CephFSTestCase): """ self.fs.set_max_mds(2) - status = self.fs.wait_for_daemons() + self.fs.wait_for_daemons() + status = self.fs.status() rank1 = self.fs.get_rank(rank=1, status=status) name1 = 'mds.'+rank1['name']