[ https://issues.apache.org/jira/browse/KAFKA-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13973444#comment-13973444 ]
Guozhang Wang commented on KAFKA-1402: -------------------------------------- I think we still have the kafka server test harness, but I agree that not all tests that need to deploy the server are actually using it. This is causing un-clean unit tests, maybe not the only cause though. One thing we can do is to enforce using server test harness, and then run it once and see if there are any other temporary kafka log dirs left. > Create unit test helper that stops and starts a cluster > ------------------------------------------------------- > > Key: KAFKA-1402 > URL: https://issues.apache.org/jira/browse/KAFKA-1402 > Project: Kafka > Issue Type: Bug > Reporter: Jay Kreps > > We have a zookeeper test harness. We used to have a kafka server test > harness, but it looks like it has been deleted. > Each test that wants to manage a server starts and stops it itself. This is a > little problematic as it may not do a good job of cleaning up and there are > lots of details to get right. > We should have an EmbeddedKafkaCluster class like the EmbeddedZookeeper we > have that starts N brokers and convert the existing full server classes to > use this. -- This message was sent by Atlassian JIRA (v6.2#6252)