From 323ce86ab2dc84fbe7e5bef1dcac8114c0441374 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 2 Dec 2019 07:31:52 +0100 Subject: Return result = 0 if failure in juju_epc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Else it's falsy successfull [1] [1] https://build.opnfv.org/ci/job/airship-opnfv-functest-vnf-latest-juju_epc-run/42/console Change-Id: Ic9f7c37db998904833c90ae3ee912e9908617abd Signed-off-by: Cédric Ollivier (cherry picked from commit e03d0444b53d1a9eaeadf52f66fb69d35889d768) --- functest/opnfv_tests/vnf/epc/juju_epc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py index 23494dce6..e0ff72cf6 100644 --- a/functest/opnfv_tests/vnf/epc/juju_epc.py +++ b/functest/opnfv_tests/vnf/epc/juju_epc.py @@ -384,6 +384,7 @@ class JujuEpc(singlevm.VmReady2): self.stop_time = time.time() return self.EX_TESTCASE_FAILED except Exception: # pylint: disable=broad-except + self.result = 0 self.stop_time = time.time() self.__logger.exception("Exception on VNF testing") return self.EX_TESTCASE_FAILED -- cgit 1.2.3-korg