Increase export IP ping count
On slow machines, pinging the export IP
once may not immediately succeed. There
can be a number of reasons for this failure,
including the time taken to set up routing
table updates to the storage, in case the
storage is external to the cloud.
Change-Id: Ic2f0110c184428ec32b4b176cf44dc9ccadda5b4
diff --git a/manila_tempest_tests/tests/scenario/test_share_basic_ops.py b/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
index 6b54bdb..7b6c339 100644
--- a/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
+++ b/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
@@ -61,9 +61,9 @@
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 1 %s" % ip)
+ remote_client.exec_command("ping6 -c 5 %s" % ip)
else:
- remote_client.exec_command("ping -c 1 %s" % ip)
+ remote_client.exec_command("ping -c 5 %s" % ip)
def _get_export_locations_according_to_ip_version(
self, all_locations, error_on_invalid_ip_version):