Skip to content

Commit

Permalink
also check openbao-csi-provider pods if there is a failure; reduce ti…
Browse files Browse the repository at this point in the history
…meout for kubectl wait commands to be 3 minutes instead of 5

Signed-off-by: jessebot <[email protected]>
  • Loading branch information
jessebot committed May 30, 2024
1 parent fb23a31 commit 713e180
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ e2e-setup:
--namespace=csi \
--values=test/bats/configs/openbao/openbao.values.yaml \
$(OPENBAO_VERSION_ARGS)
kubectl wait --namespace=csi --for=condition=Ready --timeout=5m pod -l app.kubernetes.io/name=openbao || kubectl describe pods -l app.kubernetes.io/name=openbao
kubectl wait --namespace=csi --for=condition=Ready --timeout=3m pod -l app.kubernetes.io/name=openbao || kubectl describe pods --namespace=csi -l app.kubernetes.io/name=openbao
kubectl exec -i --namespace=csi openbao-0 -- /bin/sh /mnt/bootstrap/bootstrap.sh
kubectl wait --namespace=csi --for=condition=Ready --timeout=5m pod -l app.kubernetes.io/name=openbao-csi-provider
kubectl wait --namespace=csi --for=condition=Ready --timeout=3m pod -l app.kubernetes.io/name=openbao-csi-provider || kubectl describe pods --namespace=csi -l app.kubernetes.io/name=openbao-csi-provider

e2e-teardown:
helm uninstall --namespace=csi openbao || true
Expand Down

0 comments on commit 713e180

Please sign in to comment.