aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes/rally/rally_kubernetes.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-11-17 10:27:46 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2020-07-06 12:43:42 +0200
commit7e54ba7e6e4f3c4abe0c3ba454da083eccc068c8 (patch)
tree9cc2212eec490a7ba37322c62d54625d7b25f35a /functest_kubernetes/rally/rally_kubernetes.py
parentbf394bfff776f68ebecd85848d7584ed63a98515 (diff)
Correctly override dir_results and res_dir in rally_kubernetes
Both have to be modified else publishing artifacts fails [1]. https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-jerma-xrally_kubernetes-run/47/console Change-Id: If21334d7d1342737575f9a260a0ad647c4f382e2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 004d28383111d344aeb82ba9080c7c015970c9bb) (cherry picked from commit cad10e2f00034a283a318e4e0fdf271d0ff2e32a)
Diffstat (limited to 'functest_kubernetes/rally/rally_kubernetes.py')
-rw-r--r--functest_kubernetes/rally/rally_kubernetes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest_kubernetes/rally/rally_kubernetes.py b/functest_kubernetes/rally/rally_kubernetes.py
index 5955b894..e7a903d9 100644
--- a/functest_kubernetes/rally/rally_kubernetes.py
+++ b/functest_kubernetes/rally/rally_kubernetes.py
@@ -28,8 +28,8 @@ class RallyKubernetes(testcase.TestCase):
def __init__(self, **kwargs):
super(RallyKubernetes, self).__init__(**kwargs)
- self.res_dir = "/home/opnfv/functest/results/{}".format(
- self.case_name)
+ self.dir_results = "/home/opnfv/functest/results"
+ self.res_dir = os.path.join(self.dir_results, self.case_name)
def run(self, **kwargs):
self.start_time = time.time()