diff options
author | tomsou <soth@intracom-telecom.com> | 2017-05-25 09:42:15 +0000 |
---|---|---|
committer | Nikolas Hermanns <nikolas.hermanns@ericsson.com> | 2017-05-29 16:28:03 +0000 |
commit | d4061aeface0d67ea0e038359c7c61e9482cad85 (patch) | |
tree | 0383b7a610593d6bbe55a6e069e6231eae04ce42 | |
parent | 3d5118b75dbf13b81aa84b3434d4db91e229a8ac (diff) |
Fix fail of pinging a floating IP- testcase8
-Raise the upper bound for ping action
JIRA: SDNVPN-154
Change-Id: Ifadf58f551f706a90cc17b0b1f8d05718e4908f9
Signed-off-by: tomsou <soth@intracom-telecom.com>
(cherry picked from commit 4d3ffb74c7c896f9a7784fe2e8f0c934d3dabe95)
-rw-r--r-- | sdnvpn/lib/results.py | 2 | ||||
-rw-r--r-- | sdnvpn/test/functest/testcase_8.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sdnvpn/lib/results.py b/sdnvpn/lib/results.py index 9f4fd19..8a557fd 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 f68507e..2935f24 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']) |