Skip to content

Commit

Permalink
wait wasn't long enough
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 committed Feb 6, 2024
1 parent 985831e commit 610ba31
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
until 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 &
Expand Down

0 comments on commit 610ba31

Please sign in to comment.