diff options
author | Marek Szwa?kiewicz <marek.szwalkiewicz@external.t-mobile.pl> | 2024-04-05 10:57:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2024-04-05 10:57:05 +0000 |
commit | 24c337d687c5e367b4c2fa80263310bb2fc488d9 (patch) | |
tree | 538b0c9ed49d3b07e615f2d0b7d3cca4546b61e7 /src/onaptests/steps/onboard/cps.py | |
parent | 88fa39dd48143932efe8c7883982969c78e19a54 (diff) | |
parent | d0249740266842e4cc4febb3c47243c0b95f8f39 (diff) |
Merge "Refactor code a bit to make status test able running on multiple namespaces"newdelhi
Diffstat (limited to 'src/onaptests/steps/onboard/cps.py')
-rw-r--r-- | src/onaptests/steps/onboard/cps.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/onaptests/steps/onboard/cps.py b/src/onaptests/steps/onboard/cps.py index 8f2525c..280082b 100644 --- a/src/onaptests/steps/onboard/cps.py +++ b/src/onaptests/steps/onboard/cps.py @@ -274,7 +274,7 @@ class CheckPostgressDataBaseConnectionStep(CpsBaseStep): api_instance = client.CoreV1Api() try: secret = api_instance.read_namespaced_secret( - settings.SECRET_NAME, settings.K8S_ONAP_NAMESPACE) + settings.SECRET_NAME, settings.K8S_TESTS_NAMESPACE) if secret.data: if settings.DB_LOGIN in secret.data and settings.DB_PASSWORD in secret.data: login_base64 = secret.data[settings.DB_LOGIN] @@ -328,7 +328,7 @@ class CheckPostgressDataBaseConnectionStep(CpsBaseStep): - DB_PRIMARY_HOST, - DATABASE, - DB_PORT, - - K8S_ONAP_NAMESPACE, + - K8S_TESTS_NAMESPACE, - SECRET_NAME, - DB_LOGIN, - DB_PASSWORD. |