diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-16 14:07:49 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-16 14:09:25 +0100 |
commit | 732752aba05da4ada925f3427ba07858af00664e (patch) | |
tree | a97db478ed93f699517838f7bb3e6ecf1536525b /functest_kubernetes | |
parent | 03d9da8dedce8354d25897f56803248c377f8f24 (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.py | 4 |
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 |