Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Make sure Kafka is dead after the test
Sometimes the next test fails to start as Kafka is still listening on
port 4008. To make sure it isn't, forcibly kill the java process at the
end of the test.
  • Loading branch information
markus456 committed Nov 2, 2022
1 parent e85a7c2 commit cbaca49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system-test/maxtest/include/maxtest/kafka.hh
Expand Up @@ -83,6 +83,7 @@ private:
false,
"kafka/bin/kafka-server-stop.sh;"
"kafka/bin/zookeeper-server-stop.sh;"
"pkill -9 java;"
"rm -rf /tmp/zookeeper /tmp/kafka-logs;");
}

Expand Down

0 comments on commit cbaca49

Please sign in to comment.