aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/rally
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-08-23 04:37:08 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-08-23 04:45:26 +0200
commit656681ccb93a6139a3ad1a8783aa5f98494766bf (patch)
treed6d4f2ca116c82e499f6a1f2ec0f209e578b8419 /functest_kubernetes/rally
parent06bd5f7f392781b729b8763d82d728c61ab8a8b7 (diff)
Set output logs in Rally testcases
https://build.opnfv.org/ci/job/functest-kubernetes-pi-ollivier-functest-kubernetes-benchmarking-latest-xrally_kubernetes_full-run/1/console Change-Id: I13685d74ce9e286520af6f1e5cd6ce9dafc3d5ea Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 42c2bbed87779218a8fe43c4c5c3012c64bec17b)
Diffstat (limited to 'functest_kubernetes/rally')
-rw-r--r--functest_kubernetes/rally/rally_kubernetes.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/functest_kubernetes/rally/rally_kubernetes.py b/functest_kubernetes/rally/rally_kubernetes.py
index 28415579..d5cb26d3 100644
--- a/functest_kubernetes/rally/rally_kubernetes.py
+++ b/functest_kubernetes/rally/rally_kubernetes.py
@@ -23,6 +23,7 @@ from xtesting.core import testcase
class RallyKubernetes(testcase.TestCase):
+ # pylint: disable=too-many-instance-attributes
"""Run tasks for checking basic functionality of Kubernetes cluster"""
__logger = logging.getLogger(__name__)
@@ -35,6 +36,8 @@ class RallyKubernetes(testcase.TestCase):
super(RallyKubernetes, self).__init__(**kwargs)
self.dir_results = "/home/opnfv/functest/results"
self.res_dir = os.path.join(self.dir_results, self.case_name)
+ self.output_log_name = 'functest-kubernetes.log'
+ self.output_debug_log_name = 'functest-kubernetes.debug.log'
def run(self, **kwargs):
self.start_time = time.time()