Skip to content

Commit 2045a61

Browse files
committed
timeout
1 parent 0ede244 commit 2045a61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ jobs:
8888
run: |
8989
kubectl version
9090
kubectl annotate ns podinfo k8s-pause/suspend=true --overwrite
91-
kubectl wait --for=jsonpath='{.status.phase}'=Suspended pods --all
91+
kubectl wait --timeout=2m --for=jsonpath='{.status.phase}'=Suspended pods --all
9292
9393
kubectl annotate ns podinfo k8s-pause/suspend=false --overwrite
94-
kubectl wait --for=jsonpath='{.status.phase}'=Running pods --all
94+
kubectl wait --timeout=2m --for=jsonpath='{.status.phase}'=Running pods --all
9595
- name: Logs
9696
run: |
9797
kubectl -n k8s-pause-system logs deploy/k8s-pause

0 commit comments

Comments
 (0)