mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
sigkill
This commit is contained in:
parent
4503ce41d4
commit
5cc3c9939d
1 changed files with 2 additions and 8 deletions
|
@ -41,14 +41,8 @@ function travis_end {
|
||||||
|
|
||||||
function kill_kafka {
|
function kill_kafka {
|
||||||
echo "killing kafka"
|
echo "killing kafka"
|
||||||
killall -v java
|
# sometimes kafka doesn't die on a SIGTERM so we SIGKILL it.
|
||||||
|
killall -9 -v java
|
||||||
while `killall -v -0 java`; do
|
|
||||||
sleep 2
|
|
||||||
ps xf
|
|
||||||
date
|
|
||||||
done
|
|
||||||
echo "done"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "${TEST_SUITE:-lint}" == "lint" ]; then
|
if [ "${TEST_SUITE:-lint}" == "lint" ]; then
|
||||||
|
|
Loading…
Reference in a new issue