]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/nfs: Remove unused port status function and 'stdin' keyword argument
authorVarsha Rao <varao@redhat.com>
Mon, 17 Aug 2020 07:20:36 +0000 (12:50 +0530)
committerVarsha Rao <varao@redhat.com>
Mon, 24 Aug 2020 11:30:42 +0000 (17:00 +0530)
Signed-off-by: Varsha Rao <varao@redhat.com>
qa/tasks/cephfs/test_nfs.py

index 12d13abb116d24accb5c98933e1479ec505c8b30..023112bebb6c799eb26c66b4f409ae1ebc0dfd9e 100644 (file)
@@ -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: