Skip to content

Commit

Permalink
Wait for etcd shutdown in integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fgrzadkowski committed Mar 25, 2015
1 parent 367284b commit aa9e25f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hack/lib/etcd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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-}"
}

0 comments on commit aa9e25f

Please sign in to comment.