diff options
author | 2019-11-16 14:07:49 +0100 | |
---|---|---|
committer | 2019-11-16 14:09:13 +0100 | |
commit | 0c3140bd370d7e3ca730dd8555aa351d458e2a6a (patch) | |
tree | 1f0cca3c4cd7e41e49473ff8d43f2b07667b1464 | |
parent | 0b73a47afa474a76dc74191f4dd54a772bacf1f8 (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)
-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 |