kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manikumar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-1402) Create unit test helper that stops and starts a cluster
Date Thu, 31 Aug 2017 17:43:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manikumar resolved KAFKA-1402.
------------------------------
    Resolution: Fixed

We have KafkaServerTestHarness, EmbeddedKafkaCluster, EmbeddedZookeeper helper classes.

> 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.4.14#64029)

Mime
View raw message