Fix omec components readiness checks
Also, increase ping counts for the first ping check
Change-Id: I5b24581a3eeca94e39ed1408b2df0073817410f3
diff --git a/Makefile b/Makefile
index b02a8b8..659ff7b 100644
--- a/Makefile
+++ b/Makefile
@@ -141,13 +141,13 @@
--values $(AIABVALUES) \
omec-control-plane \
$(WORKSPACE)/cord/aether-helm-charts/omec/omec-control-plane && \
- kubectl rollout status -n omec statefulset spgwc && \
+ kubectl wait pod -n omec --for=condition=Ready -l release=omec-control-plane --timeout=300s && \
helm upgrade --install $(HELM_GLOBAL_ARGS) \
--namespace omec \
--values $(AIABVALUES) \
omec-user-plane \
$(WORKSPACE)/cord/aether-helm-charts/omec/omec-user-plane && \
- kubectl rollout status -n omec statefulset upf
+ kubectl wait pod -n omec --for=condition=Ready -l release=omec-user-plane --timeout=300s
touch $@
# UE images includes kernel module, ue_ip.ko
@@ -182,9 +182,10 @@
test: | $(M)/fabric $(M)/omec $(M)/oaisim
@sleep 5
@echo "Test1: ping from UE to SGI network gateway"
- ping -I oip1 192.168.250.1 -c 3
+ ping -I oip1 192.168.250.1 -c 15
@echo "Test2: ping from UE to 8.8.8.8"
ping -I oip1 8.8.8.8 -c 3
+ @echo "Test3: ping from UE to google.com"
ping -I oip1 google.com -c 3
@echo "Finished to test"