From: Patrick Donnelly Date: Mon, 31 Jul 2017 22:04:31 +0000 (-0700) Subject: qa: test export_pin is correct in dumped subtree X-Git-Tag: v12.1.3~24^2~18^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16714%2Fhead;p=ceph.git qa: test export_pin is correct in dumped subtree Signed-off-by: Patrick Donnelly --- diff --git a/qa/tasks/cephfs/test_exports.py b/qa/tasks/cephfs/test_exports.py index 774dd8ffe1ef..913999db7733 100644 --- a/qa/tasks/cephfs/test_exports.py +++ b/qa/tasks/cephfs/test_exports.py @@ -18,6 +18,9 @@ class TestExports(CephFSTestCase): filtered = sorted([(s['dir']['path'], s['auth_first']) for s in subtrees]) log.info("%s =?= %s", filtered, test) if filtered == test: + # Confirm export_pin in output is correct: + for s in subtrees: + self.assertTrue(s['export_pin'] == s['auth_first']) return subtrees time.sleep(pause) raise RuntimeError("rank {0} failed to reach desired subtree state", rank)