From aa9e25f293405ea37e145ebbdd0dd4a934593fec Mon Sep 17 00:00:00 2001 From: Filip Grzadkowski Date: Wed, 25 Mar 2015 17:01:04 +0100 Subject: [PATCH] Wait for etcd shutdown in integration tests --- hack/lib/etcd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/lib/etcd.sh b/hack/lib/etcd.sh index cf0253ed76f75..0defac3133939 100644 --- a/hack/lib/etcd.sh +++ b/hack/lib/etcd.sh @@ -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-}" }