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:07:49 +0100 |
commit | 63ef7413921dcd06d4bd15ae59a20da811cfe7d3 (patch) | |
tree | ca9b1c7e0446186f7ccb41a410006c6d700518c6 | |
parent | 63b56cf0740fd5e2e0b7b022e287b27ddb898dee (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>
-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 |