diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-12-02 07:31:52 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-12-02 07:34:51 +0100 |
commit | 798b8e7d9b86eb00261dac19e41f82faaa6c7d89 (patch) | |
tree | 3502f2e667feb57ec66c1d646d6a19041d4de36f | |
parent | daf7fc932e03f6ad1be6cd1730b65fb614ffaadb (diff) |
Return result = 0 if failure in juju_epc
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 <cedric.ollivier@orange.com>
(cherry picked from commit e03d0444b53d1a9eaeadf52f66fb69d35889d768)
-rw-r--r-- | functest/opnfv_tests/vnf/epc/juju_epc.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/opnfv_tests/vnf/epc/juju_epc.py b/functest/opnfv_tests/vnf/epc/juju_epc.py index b2dbabdb4..4d7289749 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 |