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/simulator | |
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/simulator')
-rw-r--r-- | src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py b/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py index acfa990..4ef92ef 100644 --- a/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py +++ b/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py @@ -86,7 +86,7 @@ class PnfSimulatorCnfRegisterStep(BaseStep): k8s_client: "client.CoreV1Api" = client.CoreV1Api() try: for service in k8s_client.list_namespaced_service( - namespace=settings.K8S_ONAP_NAMESPACE).items: + namespace=settings.K8S_TESTS_NAMESPACE).items: if service.metadata.name == settings.DCAE_VES_COLLECTOR_POD_NAME: proto = "http" if "443" in str(service.spec.ports[0].port): |