summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a8525a382..e719145bf 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