From eea8b6c296f7c9540de7f46bc9daaee9e1e14ae5 Mon Sep 17 00:00:00 2001 From: Stamatis Katsaounis Date: Fri, 12 Oct 2018 10:17:09 +0300 Subject: 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 --- sdnvpn/test/functest/testcase_3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit 1.2.3-korg