aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests')
-rw-r--r--functest/opnfv_tests/openstack/vping/vping_base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/vping/vping_base.py b/functest/opnfv_tests/openstack/vping/vping_base.py
index a8525a38..e719145b 100644
--- a/functest/opnfv_tests/openstack/vping/vping_base.py
+++ b/functest/opnfv_tests/openstack/vping/vping_base.py
@@ -181,10 +181,12 @@ class VPingBase(testcase.TestCase):
else:
raise Exception('VMs never became active')
+ self.stop_time = time.time()
+
if result != testcase.TestCase.EX_OK:
+ self.result = 0
return testcase.TestCase.EX_RUN_ERROR
- self.stop_time = time.time()
self.result = 100
return testcase.TestCase.EX_OK