aboutsummaryrefslogtreecommitdiffstats
path: root/functest_kubernetes
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-11-16 14:07:49 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-11-16 14:09:00 +0100
commit66c0855a7073f3a85c0885d329fa023550de8a67 (patch)
tree647a4a7bee24d5aedd2582419d4d21bd91b16a21 /functest_kubernetes
parent5f85198f103389f6451d3f156920bae0bb599bff (diff)
Correctly override dir_results and res_dir
Both have to be modified else publishing artifacts fails [1]. [1] https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-smoke-latest-xrally_kubernetes-run/139/console Change-Id: Ieefee6a9a61452bb4f23d40f75b60280803cd215 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 63ef7413921dcd06d4bd15ae59a20da811cfe7d3)
Diffstat (limited to 'functest_kubernetes')
-rw-r--r--functest_kubernetes/k8stest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest_kubernetes/k8stest.py b/functest_kubernetes/k8stest.py
index 09dc50e8..e8e8a1f4 100644
--- a/functest_kubernetes/k8stest.py
+++ b/functest_kubernetes/k8stest.py
@@ -34,8 +34,8 @@ class K8sTesting(testcase.TestCase):
def __init__(self, **kwargs):
super(K8sTesting, self).__init__(**kwargs)
self.cmd = []
- 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)
self.result = 0
self.start_time = 0
self.stop_time = 0