mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Wait for etcd shutdown in integration tests
This commit is contained in:
parent
367284b63b
commit
aa9e25f293
@ -50,5 +50,6 @@ kube::etcd::start() {
|
|||||||
|
|
||||||
kube::etcd::cleanup() {
|
kube::etcd::cleanup() {
|
||||||
kill "${ETCD_PID-}" >/dev/null 2>&1 || :
|
kill "${ETCD_PID-}" >/dev/null 2>&1 || :
|
||||||
|
wait "${ETCD_PID-}" >/dev/null 2>&1 || :
|
||||||
rm -rf "${ETCD_DIR-}"
|
rm -rf "${ETCD_DIR-}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user