Skip to content

Commit cdcab0c

Browse files
committed
e2e: test that deletion is fast
1 parent f20fa71 commit cdcab0c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/e2e/e2e.sh

+8
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,12 @@ if [ $gpu_test_5 != 1 ]; then
6363
exit 1
6464
fi
6565

66+
# test that deletion is fast (less than the default grace period of 30s)
67+
# see https://github.com/kubernetes/kubernetes/issues/127188 for details
68+
kubectl delete -f demo/gpu-test1.yaml --timeout=25s
69+
kubectl delete -f demo/gpu-test2.yaml --timeout=25s
70+
kubectl delete -f demo/gpu-test3.yaml --timeout=25s
71+
kubectl delete -f demo/gpu-test4.yaml --timeout=25s
72+
kubectl delete -f demo/gpu-test5.yaml --timeout=25s
73+
6674
echo "test ran successfully"

0 commit comments

Comments
 (0)