Fix fail of pinging a floating IP- testcase8 37/35337/1
authortomsou <soth@intracom-telecom.com>
Thu, 25 May 2017 09:42:15 +0000 (09:42 +0000)
committertomsou <soth@intracom-telecom.com>
Thu, 25 May 2017 09:46:05 +0000 (09:46 +0000)
-Raise the upper bound for ping action

JIRA: SDNVPN-154

Change-Id: Ifadf58f551f706a90cc17b0b1f8d05718e4908f9
Signed-off-by: tomsou <soth@intracom-telecom.com>
sdnvpn/lib/results.py
sdnvpn/test/functest/testcase_8.py

index aa8dfa6..679284e 100644 (file)
@@ -165,7 +165,7 @@ class Results(object):
                     break
 
     def ping_ip_test(self, address):
-        ping = "ping %s -c 3" % address
+        ping = "ping %s -c 10" % address
         testcase_name = "Ping IP %s" % address
         logger.debug(testcase_name)
         exit_code = ft_utils.execute_command(ping)
index eca08ec..d1e34ed 100644 (file)
@@ -144,6 +144,7 @@ def main():
     else:
         results.add_failure(msg)
 
+    results.add_to_summary(0, "=")
     results.record_action("Ping %s via Floating IP" % vm_1.name)
     results.add_to_summary(0, "-")
     results.ping_ip_test(fip['fip_addr'])