aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-05-28 09:04:12 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-05-28 09:04:12 +0200
commit72b17bc82ac5c6a388adbfc8a564f118d0ccd247 (patch)
tree449c7812bb76cd0a57e5ff10cf68f1c09c2fe77b
parent085141b3a90ed82e74cce867db2b5dbba8471c38 (diff)
Print vping output instead of Paramiko object
Change-Id: Iddc1abdf443e482e8748434a4ba7d85709d8cd0e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--functest/opnfv_tests/openstack/vping/vping_ssh.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/vping/vping_ssh.py b/functest/opnfv_tests/openstack/vping/vping_ssh.py
index 933779ec1..dd864e084 100644
--- a/functest/opnfv_tests/openstack/vping/vping_ssh.py
+++ b/functest/opnfv_tests/openstack/vping/vping_ssh.py
@@ -119,7 +119,7 @@ class VPingSSH(vping_base.VPingBase):
self.logger.debug("ssh: %s", self.ssh)
(_, stdout, _) = self.ssh.exec_command(
'ping -c 1 ' + self.vm1.private_v4)
- self.logger.debug("ping output: %s", stdout)
+ self.logger.debug("ping output:\n%s", stdout.read())
return stdout.channel.recv_exit_status()
def clean(self):