diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-01-26 14:23:10 +0100 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-01-26 14:30:53 +0100 |
commit | c208b3c1104fc210d73eabf6361efbd3ea62e265 (patch) | |
tree | a493f287f04a445b4c8f50a59809c6f918053c8f /testcases/vPing/CI/libraries/vPing2.py | |
parent | 1c80d3aad92d1372c3cd123b318b23d01f6b4ba5 (diff) |
Replace 'No vPing detected' by a better understandable message
Some people got confused about that message although the test succeded
Change-Id: I9bdbb5545f06e85805f29b3dfca6156da86c3ffb
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/vPing/CI/libraries/vPing2.py')
-rw-r--r-- | testcases/vPing/CI/libraries/vPing2.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/testcases/vPing/CI/libraries/vPing2.py b/testcases/vPing/CI/libraries/vPing2.py index 3b374da43..358223585 100644 --- a/testcases/vPing/CI/libraries/vPing2.py +++ b/testcases/vPing/CI/libraries/vPing2.py @@ -415,7 +415,6 @@ def main(): name=NAME_VM_2, flavor=flavor, image=image, - # nics = [{"net-id": network_id, "v4-fixed-ip": IP_2}], nics=[{"port-id": port_id2}] ) @@ -504,8 +503,8 @@ def main(): # do the scp only once (stdin, stdout, stderr) = ssh.exec_command(cmd) output = stdout.readlines() - for line in output: - print line + #for line in output: + # print line # print "--"+console_log # report if the test is failed @@ -522,7 +521,7 @@ def main(): logger.info("Timeout reached.") break else: - logger.debug("No vPing detected...") + logger.debug("Pinging %s. Waiting for response..." % IP_2) sec += 1 cleanup(nova_client, neutron_client, image_id, network_dic, |