Remove unused "_ping_host_from_export_location" method

There is an other method for pinging to the export location,
called "validate_ping_to_export_location".

Change-Id: Ia23b11fec8ac3a36d4c424c50129523ad3b7e912
This commit is contained in:
lkuchlan 2020-09-10 14:59:39 +03:00
parent 2e0e081414
commit 1e115c5dc1
1 changed files with 0 additions and 7 deletions

View File

@ -45,13 +45,6 @@ class ShareBasicOpsBase(manager.ShareScenarioTest):
* Terminate the instance
"""
def _ping_host_from_export_location(self, export, remote_client):
ip, version = self.get_ip_and_version_from_export_location(export)
if version == 6:
remote_client.exec_command("ping6 -c 5 %s" % ip)
else:
remote_client.exec_command("ping -c 5 %s" % ip)
@decorators.idempotent_id('825be71c-cf14-4884-a0ad-cf47d511df9a')
@tc.attr(base.TAG_POSITIVE, base.TAG_BACKEND)
def test_mount_share_one_vm(self):