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
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