Skip to content

Commit

Permalink
add sleeps to ig tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Hamilton committed May 21, 2020
1 parent 9284c83 commit b699e81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/ig-test.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fi
unset _kubetap_kind_clusters

# catch sigints and exits to delete the cluster, keeping the last exit code
trap '{ e=${?}; kind delete cluster --name kubetap ; exit ${e} }' SIGINT SIGTERM EXIT
trap '{ e=${?}; sleep 1; kind delete cluster --name kubetap ; exit ${e} }' SIGINT SIGTERM EXIT
kind create cluster --name kubetap

#
Expand Down Expand Up @@ -136,8 +136,10 @@ kill ${_kubetap_pf_one_pid}
kill ${_kubetap_pf_two_pid}
unset _kubetap_pf_one_pid _kubetap_pf_two_pid

sleep 3
kubectl tap off dw-dokuwiki --context kind-kubetap

sleep 1
helm delete --kube-context kind-kubetap dw

source ${script_dir}/_post.zsh

0 comments on commit b699e81

Please sign in to comment.