From 5cc3c9939dfed1345295a2c1e283662594b565ef Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 19 Dec 2017 13:32:47 +0000 Subject: [PATCH] sigkill --- scripts/travis-test.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/scripts/travis-test.sh b/scripts/travis-test.sh index 4bdde447..4e6aab02 100755 --- a/scripts/travis-test.sh +++ b/scripts/travis-test.sh @@ -41,14 +41,8 @@ function travis_end { function kill_kafka { echo "killing kafka" - killall -v java - - while `killall -v -0 java`; do - sleep 2 - ps xf - date - done - echo "done" + # sometimes kafka doesn't die on a SIGTERM so we SIGKILL it. + killall -9 -v java } if [ "${TEST_SUITE:-lint}" == "lint" ]; then