From ce19f7dd64e5dbe446260665842baded626327a0 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Wed, 16 Jun 2021 07:27:31 +0000 Subject: [TEST] Create "pnf-macro-test-simulator" resources Resolve conflicting "pnf-simulator" resource creation. Replate it with "pnf-macro-test-simulator" Issue-ID: TEST-341 Signed-off-by: Michal Jagiello Change-Id: Icb54cab9b9f8a5e09e657faea96f9ce9bc79acef (cherry picked from commit c60749dc98116a84094a1b21000aff56716f0e48) --- .../steps/simulator/pnf_simulator_cnf/pnf_register.py | 2 +- .../templates/artifacts/pnf-simulator.tar.gz | Bin 1225 -> 1237 bytes 2 files changed, 1 insertion(+), 1 deletion(-) 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 4b09328..caeb20b 100644 --- a/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py +++ b/src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py @@ -53,7 +53,7 @@ class PnfSimulatorCnfRegisterStep(BaseStep): for event in k8s_watch.stream(k8s_client.list_namespaced_pod, namespace=settings.K8S_NAMESPACE, timeout_seconds=timeout_seconds): - if event["object"].metadata.name == "pnf-simulator": + if event["object"].metadata.name == "pnf-macro-test-simulator": if not event["object"].status.phase in ["Pending", "Running"]: # Invalid pod state return False diff --git a/src/onaptests/templates/artifacts/pnf-simulator.tar.gz b/src/onaptests/templates/artifacts/pnf-simulator.tar.gz index a7e6311..605490f 100644 Binary files a/src/onaptests/templates/artifacts/pnf-simulator.tar.gz and b/src/onaptests/templates/artifacts/pnf-simulator.tar.gz differ -- cgit 1.2.3-korg