Fix false message instance is down 41/63441/2
authorStamatis Katsaounis <mokats@intracom-telecom.com>
Fri, 12 Oct 2018 07:17:09 +0000 (10:17 +0300)
committerStamatis Katsaounis <mokats@intracom-telecom.com>
Fri, 19 Oct 2018 11:14:51 +0000 (14:14 +0300)
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 <mokats@intracom-telecom.com>
sdnvpn/test/functest/testcase_3.py

index 2a3a530..a4e9121 100644 (file)
@@ -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")