Skip to content

Commit 9a78e0f

Browse files
authored
Merge pull request #135 from ityuhui/yh-wait-pod-deleting-0818
Wait for the pod to terminate cleanly after deleting the pod during testing
2 parents 4e38e72 + 5890c9b commit 9a78e0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test:
3131
kubectl wait --for=condition=ready --all pod -n default --timeout=60s
3232
cd list_pod; make test
3333
cd delete_pod; make test
34+
kubectl wait --for=delete pod/test-pod-6 -n default --timeout=120s
3435
cd list_secret; make test
3536
cd configmap; make test
3637
cd generic; make test
@@ -44,6 +45,7 @@ memcheck:
4445
kubectl wait --for=condition=ready --all pod -n default --timeout=60s
4546
cd list_pod; make memcheck
4647
cd delete_pod; make memcheck
48+
kubectl wait --for=delete pod/test-pod-6 -n default --timeout=120s
4749
cd list_secret; make memcheck
4850
cd configmap; make memcheck
4951
cd generic; make memcheck

0 commit comments

Comments
 (0)