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:26:03 +0200
commit172e745d831d4730bfb6fb0d8c2df2029a6c75bb (patch)
treeec28387848ab1cd9d6575cc9a55d324fc6aaf4be
parent2e3f6290c86dc26b1a3c8d21ccc5549b2f056aad (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')):