From: Varsha Rao Date: Mon, 17 Aug 2020 07:20:36 +0000 (+0530) Subject: qa/tasks/nfs: Remove unused port status function and 'stdin' keyword argument X-Git-Tag: v16.1.0~1342^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=91e89a4df542a7fabdca92f31a7fe0fe0724d1ff;p=ceph.git qa/tasks/nfs: Remove unused port status function and 'stdin' keyword argument Signed-off-by: Varsha Rao --- diff --git a/qa/tasks/cephfs/test_nfs.py b/qa/tasks/cephfs/test_nfs.py index 12d13abb116d2..023112bebb6c7 100644 --- a/qa/tasks/cephfs/test_nfs.py +++ b/qa/tasks/cephfs/test_nfs.py @@ -12,9 +12,7 @@ log = logging.getLogger(__name__) # TODO Add test for cluster update when ganesha can be deployed on multiple ports. class TestNFS(MgrTestCase): - def _cmd(self, *args, stdin=''): - if stdin: - return self.mgr_cluster.mon_manager.raw_cluster_cmd(*args, stdin=stdin) + def _cmd(self, *args): return self.mgr_cluster.mon_manager.raw_cluster_cmd(*args) def _nfs_cmd(self, *args): @@ -61,10 +59,6 @@ class TestNFS(MgrTestCase): "clients": [] } - def _check_port_status(self): - log.info("NETSTAT") - self._sys_cmd(['netstat', '-tnlp']) - def _check_nfs_server_status(self): res = self._sys_cmd(['systemctl', 'status', 'nfs-server']) if isinstance(res, bytes) and b'Active: active' in res: