From: pawel.denst Date: Fri, 26 May 2023 13:42:13 +0000 (+0000) Subject: Change STATUS_RESULTS_DIRECTORY in python-sdk tests X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=52a8347b34edf48126aff3121655920220fbb2b4;p=testsuite%2Fpythonsdk-tests.git Change STATUS_RESULTS_DIRECTORY in python-sdk tests Change STATUS_RESULTS_DIRECTORY in python-sdk tests Issue-ID: INT-2245 Signed-off-by: pawel.denst Change-Id: I3563d9896c556379afbd1eba83cdd750a887c8d0 --- diff --git a/src/onaptests/configuration/status_settings.py b/src/onaptests/configuration/status_settings.py index 06e29fd..ca25e4f 100644 --- a/src/onaptests/configuration/status_settings.py +++ b/src/onaptests/configuration/status_settings.py @@ -4,4 +4,4 @@ from .settings import * # pylint: disable=W0614 SERVICE_NAME = "Status Check" SERVICE_DETAILS = "Checks status of all k8s resources in the selected namespace" SERVICE_COMPONENTS = "ALL" -STATUS_RESULTS_DIRECTORY = "src/" \ No newline at end of file +STATUS_RESULTS_DIRECTORY = "/tmp" \ No newline at end of file diff --git a/src/onaptests/steps/cloud/check_status.py b/src/onaptests/steps/cloud/check_status.py index 101882e..8a01662 100644 --- a/src/onaptests/steps/cloud/check_status.py +++ b/src/onaptests/steps/cloud/check_status.py @@ -116,7 +116,7 @@ class CheckNamespaceStatusStep(BaseStep): super().__init__(cleanup=cleanup) if settings.STATUS_RESULTS_DIRECTORY: - self.res_dir = f"{settings.STATUS_RESULTS_DIRECTORY}/kubernetes-status" + self.res_dir = f"{settings.STATUS_RESULTS_DIRECTORY}" else: self.res_dir = f"{testcase.TestCase.dir_results}/kubernetes-status"