diff options
author | 2019-11-16 14:01:05 +0100 | |
---|---|---|
committer | 2019-11-16 14:04:15 +0100 | |
commit | e2ce88dec64eec80da84e5c88ee4747be42d8584 (patch) | |
tree | 763dc8e4790de517e1782de3d9e703cf974b5da0 | |
parent | 13424e10be4bbf7133cd2e561326e73075c0f666 (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 00b378ec9..8dd56aa67 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: |