[TEST] Create "pnf-macro-test-simulator" resources 44/121944/1
authorMichal Jagiello <michal.jagiello@t-mobile.pl>
Wed, 16 Jun 2021 07:27:31 +0000 (07:27 +0000)
committerMichal Jagiello <michal.jagiello@t-mobile.pl>
Wed, 16 Jun 2021 07:27:31 +0000 (07:27 +0000)
Resolve conflicting "pnf-simulator" resource creation. Replate it with "pnf-macro-test-simulator"

Issue-ID: TEST-341
Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl>
Change-Id: Icb54cab9b9f8a5e09e657faea96f9ce9bc79acef

src/onaptests/steps/simulator/pnf_simulator_cnf/pnf_register.py
src/onaptests/templates/artifacts/pnf-simulator.tar.gz

index 4b09328..caeb20b 100644 (file)
@@ -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
index a7e6311..605490f 100644 (file)
Binary files a/src/onaptests/templates/artifacts/pnf-simulator.tar.gz and b/src/onaptests/templates/artifacts/pnf-simulator.tar.gz differ