mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Merge pull request #5924 from fgrzadkowski/fix_integration
Wait for etcd shutdown in integration tests
This commit is contained in:
@@ -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-}"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user