From 68f7c53299a53034e97e65ced1c8eabf4de2606c Mon Sep 17 00:00:00 2001 From: Sam Stoelinga Date: Mon, 5 Feb 2024 22:43:26 -0800 Subject: [PATCH] wait wasn't long enough --- tests/e2e/test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/e2e/test.sh b/tests/e2e/test.sh index a807b055..41acb4ed 100755 --- a/tests/e2e/test.sh +++ b/tests/e2e/test.sh @@ -101,7 +101,10 @@ docker exec ${KIND_NODE} iptables -I INPUT -p tcp --dport 6443 -j DROP sleep 120 docker exec ${KIND_NODE} iptables -D INPUT -p tcp --dport 6443 -j DROP echo "Waiting for K8s to recover from apiserver outage" -sleep 20 +sleep 30 +untill kubectl get deployment stapi-minilm-l6-v2; do + sleep 1 +done # rerun kubectl logs because previous one got killed when apiserver was down kubectl logs --tail=500 -f deployment/lingo &