Skip to content

Commit

Permalink
Merge pull request kubernetes#5924 from fgrzadkowski/fix_integration
Browse files Browse the repository at this point in the history
Wait for etcd shutdown in integration tests
  • Loading branch information
fgrzadkowski committed Mar 25, 2015
2 parents 1f50bd2 + aa9e25f commit 2ad3af2
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 2ad3af2

Please sign in to comment.