aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-05-30 09:32:00 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-05-30 09:32:00 +0200
commit30e4106b56608595885e1b46ad4b668866ab9426 (patch)
treee9ac5381301db604eca3c5dd6c9a885658749c31
parentceaea7f0cb95bce7f71d29dff71d58654cf0e700 (diff)
Fix _do_execute() return code in vping_ssh
Change-Id: I781e51bb56f6cdac8b347e7fd85e70c07eb69e23 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 dd864e084..1dfca89a3 100644
--- a/functest/opnfv_tests/openstack/vping/vping_ssh.py
+++ b/functest/opnfv_tests/openstack/vping/vping_ssh.py
@@ -114,7 +114,7 @@ class VPingSSH(vping_base.VPingBase):
time.sleep(10)
else:
self.logger.error("cannot connect to %s", self.vm2.public_v4)
- return False
+ return testcase.TestCase.EX_RUN_ERROR
self.logger.debug("ssh: %s", self.ssh)
(_, stdout, _) = self.ssh.exec_command(