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:24:22 +0200
commite09c7eeab3a1bdc361769e469c0ec7a7b5718ebf (patch)
treea4f490b97c7c29f0508b9a230062587d6812a1e3
parent12d6bc18b178d4a8a4f64574bd6549341268645a (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>
-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')):