From: Stamatis Katsaounis Date: Fri, 12 Oct 2018 07:17:09 +0000 (+0300) Subject: Fix false message instance is down X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=eea8b6c296f7c9540de7f46bc9daaee9e1e14ae5;p=sdnvpn.git Fix false message instance is down JIRA: SDNVPN-232 This patch fixes the false message instance is down. The message occurs because a wrong method was used to check if instance is alive. This instance does not proceed to login so the previous method cound not find "login" regex inside its console output. Change-Id: I35733f634595a9d2eeb9148c2476444afab710a6 Signed-off-by: Stamatis Katsaounis --- diff --git a/sdnvpn/test/functest/testcase_3.py b/sdnvpn/test/functest/testcase_3.py index 2a3a530..a4e9121 100644 --- a/sdnvpn/test/functest/testcase_3.py +++ b/sdnvpn/test/functest/testcase_3.py @@ -370,7 +370,7 @@ def main(): instance_ids.append(vm_bgpvpn.id) # wait for VM to get IP - instance_up = test_utils.wait_for_instances_up(vm_bgpvpn) + instance_up = test_utils.wait_for_instances_get_dhcp(vm_bgpvpn) if not instance_up: logger.error("One or more instances are down")