diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-16 14:01:05 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-16 14:05:26 +0100 |
commit | b9f76648e8b7cc5e9d42d4b8b40d50f0fa4d9fc8 (patch) | |
tree | c654d93d19e7a22c2bec0f92eb017374fc9ce5b6 | |
parent | 4172ca8cec4d0feb972ec00703a1badffc9a43d1 (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-opnfv-functest-healthcheck-latest-tempest_smoke-run/555/console
Change-Id: Ibd110e4b57cb443b12adea73f73c8cdf7f828652
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 793e17835b948be7c421d6b9e766878e82e56fa7)
-rw-r--r-- | functest/core/tenantnetwork.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/core/tenantnetwork.py b/functest/core/tenantnetwork.py index 0cff8dec6..8d32d7e57 100644 --- a/functest/core/tenantnetwork.py +++ b/functest/core/tenantnetwork.py @@ -155,8 +155,8 @@ class TenantNetwork1(testcase.TestCase): if "case_name" not in kwargs: kwargs["case_name"] = 'tenantnetwork1' super(TenantNetwork1, self).__init__(**kwargs) - self.res_dir = os.path.join( - getattr(config.CONF, 'dir_results'), self.case_name) + self.dir_results = os.path.join(getattr(config.CONF, 'dir_results')) + self.res_dir = os.path.join(self.dir_results, self.case_name) self.output_log_name = 'functest.log' self.output_debug_log_name = 'functest.debug.log' try: |