aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-09-07 10:24:22 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-09-07 10:25:25 +0200
commit3ca6db0d0dfca7af44217b66ee9fed2188a5ee59 (patch)
treeef657cf180c43af8c8adbb9412765ea88ad35ab2
parent10d526ddf50c7e10ea870aef516a52b7be0c4b37 (diff)
Override default Xtesting logs in cnf-conformance
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-cnf-latest-cnf_conformance-run/7/console Change-Id: Ia6845525e62274f7792b4cb1909f36204fb51418 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e09c7eeab3a1bdc361769e469c0ec7a7b5718ebf)
-rw-r--r--functest_kubernetes/cnf_conformance/conformance.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/functest_kubernetes/cnf_conformance/conformance.py b/functest_kubernetes/cnf_conformance/conformance.py
index 5aff8aad..f342fcc6 100644
--- a/functest_kubernetes/cnf_conformance/conformance.py
+++ b/functest_kubernetes/cnf_conformance/conformance.py
@@ -42,6 +42,11 @@ class CNFConformance(testcase.TestCase):
__logger = logging.getLogger(__name__)
+ def __init__(self, **kwargs):
+ super(CNFConformance, self).__init__(**kwargs)
+ self.output_log_name = 'functest-kubernetes.log'
+ self.output_debug_log_name = 'functest-kubernetes.debug.log'
+
def check_requirements(self):
"""Check if cnf-conformance is in $PATH"""
if not os.path.exists(os.path.join(self.bin_dir, 'cnf-conformance')):