diff options
-rw-r--r-- | sdnvpn/lib/results.py | 1 | ||||
-rw-r--r-- | sdnvpn/test/functest/testcase_7.py | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sdnvpn/lib/results.py b/sdnvpn/lib/results.py index 66e399e..5bddb06 100644 --- a/sdnvpn/lib/results.py +++ b/sdnvpn/lib/results.py @@ -165,6 +165,7 @@ class Results(object): def ping_ip_test(self, address): ping = "ping %s -c 3" % address testcase_name = "Ping IP %s" % address + logger.debug(testcase_name) exit_code = ft_utils.execute_command(ping) if exit_code != 0: diff --git a/sdnvpn/test/functest/testcase_7.py b/sdnvpn/test/functest/testcase_7.py index fa50888..af4f644 100644 --- a/sdnvpn/test/functest/testcase_7.py +++ b/sdnvpn/test/functest/testcase_7.py @@ -132,8 +132,9 @@ def main(): results.get_ping_status(vm_1, vm_2, expected="PASS", timeout=200) results.add_to_summary(0, "=") - msg = "Assign a Floating IP to %s" % vm_2.name + msg = "Assign a Floating IP to %s and ping it" % vm_2.name results.record_action(msg) + results.add_to_summary(0, '-') fip = os_utils.create_floating_ip(neutron_client) fip_added = os_utils.add_floating_ip(nova_client, vm_2.id, fip['fip_addr']) @@ -142,9 +143,6 @@ def main(): else: results.add_failure(msg) - msg = "Ping %s via Floating IP" % vm_2.name - results.record_action(msg) - results.add_to_summary(0, "-") results.ping_ip_test(fip['fip_addr']) return results.compile_summary(TESTCASE_CONFIG.success_criteria) |