mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-06 11:42:14 +00:00
Update tests to prepare for graceful deletion
For cases where we want to immediately cleanup the pod, start using gracePeriod 0 in test cases.
This commit is contained in:
@@ -23,7 +23,7 @@ readonly red=$(tput setaf 1)
|
||||
readonly green=$(tput setaf 2)
|
||||
|
||||
kube::test::clear_all() {
|
||||
kubectl delete "${kube_flags[@]}" rc,pods --all
|
||||
kubectl delete "${kube_flags[@]}" rc,pods --all --grace-period=0
|
||||
}
|
||||
|
||||
kube::test::get_object_assert() {
|
||||
|
Reference in New Issue
Block a user