Change comac-in-a-box test scenario
Give 30s timeout for SPGWU to resolve ARPs for S1U and SGI network entities.
Change-Id: I66e37ebd1df9eeda429ff020f9c1d2356b2875ea
diff --git a/comac-in-a-box/Makefile b/comac-in-a-box/Makefile
index 2bd73ce..6e00854 100644
--- a/comac-in-a-box/Makefile
+++ b/comac-in-a-box/Makefile
@@ -173,8 +173,8 @@
kubectl exec router ip route add 16.0.0.0/8 via $(spgwu_ip)
touch $@
-run-test: | $(M)/router
- ping -I oip1 13.1.1.254 -c 5
+test: | $(M)/router
+ @timeout 30s bash -c "until timeout 1 ping -I oip1 13.1.1.254 -c 1; do sleep 1; done"
reset-test:
kubectl delete po router || true