From 8db2c43e79e5b550edf78e4121fb56e47f9d7abe Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Mon, 31 Jul 2017 15:04:31 -0700 Subject: [PATCH] qa: test export_pin is correct in dumped subtree Signed-off-by: Patrick Donnelly --- qa/tasks/cephfs/test_exports.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qa/tasks/cephfs/test_exports.py b/qa/tasks/cephfs/test_exports.py index 774dd8ffe1e..913999db773 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) -- 2.39.5