summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolas Hermanns <nikolas.hermanns@ericsson.com>2017-05-29 16:27:49 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-05-29 16:27:49 +0000
commit9fb7fad2a9f83ddb7d0c1f61b2d5609352fb6f15 (patch)
treee257f0632f90b59b4472d0ec22c6cd1e1d8bb45c
parent5d93773cd66119ac49d9feb171b5fc9108e53fca (diff)
parent4d3ffb74c7c896f9a7784fe2e8f0c934d3dabe95 (diff)
Merge "Fix fail of pinging a floating IP- testcase8"
-rw-r--r--sdnvpn/lib/results.py2
-rw-r--r--sdnvpn/test/functest/testcase_8.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/sdnvpn/lib/results.py b/sdnvpn/lib/results.py
index aa8dfa6..679284e 100644
--- a/sdnvpn/lib/results.py
+++ b/sdnvpn/lib/results.py
@@ -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)
diff --git a/sdnvpn/test/functest/testcase_8.py b/sdnvpn/test/functest/testcase_8.py
index eca08ec..d1e34ed 100644
--- a/sdnvpn/test/functest/testcase_8.py
+++ b/sdnvpn/test/functest/testcase_8.py
@@ -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'])