mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +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() {
|
||||
kill "${ETCD_PID-}" >/dev/null 2>&1 || :
|
||||
wait "${ETCD_PID-}" >/dev/null 2>&1 || :
|
||||
rm -rf "${ETCD_DIR-}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user