From: Varsha Rao Date: Tue, 9 Jun 2020 07:44:36 +0000 (+0000) Subject: qa/tasks/cephfs: Add test to check if export is available on restarting mgr X-Git-Tag: v16.1.0~1878^2~20 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=3b554f2310878cd0d38db8acef982a4707111b04;p=ceph.git qa/tasks/cephfs: Add test to check if export is available on restarting mgr Signed-off-by: Varsha Rao --- diff --git a/qa/tasks/cephfs/test_nfs.py b/qa/tasks/cephfs/test_nfs.py index fb4d70d8f55b..f80a6f0631b2 100644 --- a/qa/tasks/cephfs/test_nfs.py +++ b/qa/tasks/cephfs/test_nfs.py @@ -140,3 +140,12 @@ class TestNFS(MgrTestCase): self._create_export(export_id='4', extra_cmd=[self.pseudo_path+'3', fs_path.strip()]) self._test_delete_cluster() self._check_export_obj_deleted(conf_obj=True) + + def test_exports_on_mgr_restart(self): + self._create_default_export() + # This will restart the mgr + self._unload_module("cephadm") + self._load_module("cephadm") + self._orch_cmd("set", "backend", "cephadm") + #Add list export command + self._delete_export()