From: Rishabh Dave Date: Wed, 15 Mar 2023 20:40:43 +0000 (+0530) Subject: qa/cephfs: create admin_remote instance in CephFSTestCase X-Git-Tag: v18.2.4~68^2~11 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6a83a82306482a7db110ed24cae5919ea1adfbc8;p=ceph.git qa/cephfs: create admin_remote instance in CephFSTestCase admin_remote contains lots of methods that can be useful during testing, so let's have an easy access to it too. Signed-off-by: Rishabh Dave (cherry picked from commit 2e12e5086d067ff110f4f9c827b40cf58aa04b91) --- diff --git a/qa/tasks/cephfs/cephfs_test_case.py b/qa/tasks/cephfs/cephfs_test_case.py index ee52dab8755d..d6563a14e542 100644 --- a/qa/tasks/cephfs/cephfs_test_case.py +++ b/qa/tasks/cephfs/cephfs_test_case.py @@ -127,6 +127,7 @@ class CephFSTestCase(CephTestCase, RunCephCmd): def setUp(self): super(CephFSTestCase, self).setUp() self._init_mon_manager() + self.admin_remote = self.ceph_cluster.admin_remote self.config_set('mon', 'mon_allow_pool_delete', True)