aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/security
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-03-14 08:30:33 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2020-03-14 08:46:30 +0100
commit36039d940f473d7385d918375390e804b626bad2 (patch)
treea26a97415ad67a9b58dfae7a851ee467d4f28140 /functest_kubernetes/security
parentadaa8ba5907040fdd8198d3fb801256021514dd5 (diff)
Override the right log files
Else Xtesting publishes the default xtesting.log [1] [1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-security-latest-kube_hunter-run/2/console Change-Id: I0b9b9eda04762771d4e10f0d124b4d5f2975a4da Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest_kubernetes/security')
-rw-r--r--functest_kubernetes/security/security.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/functest_kubernetes/security/security.py b/functest_kubernetes/security/security.py
index 33e70f86..b878cb77 100644
--- a/functest_kubernetes/security/security.py
+++ b/functest_kubernetes/security/security.py
@@ -25,6 +25,7 @@ from xtesting.core import testcase
class SecurityTesting(testcase.TestCase):
+ # pylint: disable=too-many-instance-attributes
"""Run Security job"""
namespace = 'default'
watch_timeout = 1200
@@ -38,6 +39,8 @@ class SecurityTesting(testcase.TestCase):
self.batchv1 = client.BatchV1Api()
self.pod = None
self.job_name = None
+ self.output_log_name = 'functest-kubernetes.log'
+ self.output_debug_log_name = 'functest-kubernetes.debug.log'
def deploy_job(self):
"""Run Security job