aboutsummaryrefslogtreecommitdiffstats
path: root/src/onaptests/configuration
diff options
context:
space:
mode:
authormichal.jagiello@t-mobile.pl <michal.jagiello@t-mobile.pl>2024-04-04 10:47:55 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2024-04-04 13:43:01 +0200
commitd0249740266842e4cc4febb3c47243c0b95f8f39 (patch)
tree1bad851acb7db44bf776d3ac8d1cd9974e57a6e8 /src/onaptests/configuration
parent7e8c2a76266d0c5976183302d0cca21a1ab2df32 (diff)
Refactor code a bit to make status test able running on multiple namespaces
It's possible to run status on all tests and also exclude some namespaces from check Issue-ID: TEST-404 Change-Id: I33c54624f60b1c4db82a252d97a26e18464ed07f Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Diffstat (limited to 'src/onaptests/configuration')
-rw-r--r--src/onaptests/configuration/settings.py4
-rw-r--r--src/onaptests/configuration/status_settings.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/onaptests/configuration/settings.py b/src/onaptests/configuration/settings.py
index a9e60b0..a3aa3b9 100644
--- a/src/onaptests/configuration/settings.py
+++ b/src/onaptests/configuration/settings.py
@@ -50,8 +50,8 @@ JSON_REPORTING_FILE_NAME = "reporting.json"
K8S_REGION_TYPE = "k8s"
TILLER_HOST = "localhost"
K8S_CONFIG = None # None means it will use default config (~/.kube/config)
-K8S_ONAP_NAMESPACE = "onap" # ONAP Kubernetes namespace
-K8S_ADDITIONAL_RESOURCES_NAMESPACE = K8S_ONAP_NAMESPACE # Resources created on tests namespace
+K8S_TESTS_NAMESPACE = "onap" # ONAP Kubernetes namespace
+K8S_ADDITIONAL_RESOURCES_NAMESPACE = K8S_TESTS_NAMESPACE # Resources created on tests namespace
MSB_K8S_OVERRIDE_VALUES = None
# SOCK_HTTP = "socks5h://127.0.0.1:8091"
diff --git a/src/onaptests/configuration/status_settings.py b/src/onaptests/configuration/status_settings.py
index 691c747..a291c21 100644
--- a/src/onaptests/configuration/status_settings.py
+++ b/src/onaptests/configuration/status_settings.py
@@ -8,7 +8,9 @@ CHECK_POD_VERSIONS = True
IGNORE_EMPTY_REPLICAS = False
STATUS_DETAILS_JSON = "status-details.json"
INCLUDE_ALL_RES_IN_DETAILS = True
+CHECK_ALL_NAMESPACES = False
EXTRA_NAMESPACE_LIST = []
+EXCLUDE_NAMESPACE_LIST = []
FULL_LOGS_CONTAINERS = [
'dcae-bootstrap', 'dcae-cloudify-manager', 'aai-resources',