diff --git a/whitebox_neutron_tempest_plugin/tests/scenario/test_dvr_ovn.py b/whitebox_neutron_tempest_plugin/tests/scenario/test_dvr_ovn.py index 7370b22..24c007a 100644 --- a/whitebox_neutron_tempest_plugin/tests/scenario/test_dvr_ovn.py +++ b/whitebox_neutron_tempest_plugin/tests/scenario/test_dvr_ovn.py @@ -30,7 +30,6 @@ from tempest import config from tempest.lib.common.utils import data_utils from tempest.lib.common.utils import test_utils from tempest.lib import decorators -from tempest.lib import exceptions as lib_exceptions from whitebox_neutron_tempest_plugin.common import constants as local_constants from whitebox_neutron_tempest_plugin.common import utils as local_utils @@ -227,11 +226,12 @@ class OvnDvrTest(OvnDvrBase): ssh_client = None expected_routing_nodes = [self.compute] try: - self.proxy_host_client.exec_command( - "ping -c 10 -W2 -s56 {}".format( - self.server['fip']['floating_ip_address'])) + self.check_remote_connectivity( + self.proxy_host_client, + self.server['fip']['floating_ip_address'], + timeout=60) ssh_client = self.proxy_host_client - except lib_exceptions.SSHExecCommandFailed: + except AssertionError: # In case VM under test is not responding from the proxy host # this means that there is a limitation of the environment and # as a fallback scenario we create an additional VM