Remove network failed message check form vping_ssh 23/10223/1
authorjose.lausuch <jose.lausuch@ericsson.com>
Thu, 18 Feb 2016 15:04:22 +0000 (16:04 +0100)
committerJose Lausuch <jose.lausuch@ericsson.com>
Thu, 18 Feb 2016 15:06:13 +0000 (15:06 +0000)
Change-Id: I72d97af3ddd76f698ce54918cf92f98c8f5a7fd4
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
(cherry picked from commit 4789710123718723adbc84ab6445ac141e074a9b)

testcases/vPing/CI/libraries/vPing_ssh.py

index 1ace01b..9fcb11e 100644 (file)
@@ -502,8 +502,7 @@ def main():
         if "Sending discover" in console_log and \
             discover_count % 4 == 0 and not nolease :
             logger.debug("Console-log '%s': Sending discover..." % NAME_VM_2)
-        elif "No lease, failing" in console_log and\
-                "network failed" in console_log and not nolease:
+        elif "No lease, failing" in console_log and not nolease:
                 nolease = True
                 logger.debug("Console-log '%s': No lease, failing..." % NAME_VM_2)
                 logger.info("The instance failed to get an IP from "\