[
https://issues.apache.org/jira/browse/KAFKA-19252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
PoAn Yang reassigned KAFKA-19252:
---------------------------------
Assignee: PoAn Yang
> Support broker and controller restarts in testkit
> -------------------------------------------------
>
> Key: KAFKA-19252
> URL: https://issues.apache.org/jira/browse/KAFKA-19252
> Project: Kafka
> Issue Type: Improvement
> Components: unit tests
> Reporter: David Arthur
> Assignee: PoAn Yang
> Priority: Major
>
> We should support broker and controller restarts in ClusterTest (and
> testkit). Since these components are not designed to be reused, we will need
> to create them on-demand when a node is restarted.
> Not having this feature makes it difficult for many tests to be converted
> from IntegrationTestHarness. Some tests have done so, but by reaching down
> into the broker implementation classes like
> [https://github.com/apache/kafka/commit/c527530e806c7d9f79348656d801b1b78e8f2bec#diff-9003994ba58aae31e74ea55bed86c886bbe4ced487e1ac27e6a5428722823fe8R8-R224]
> Generally we want to avoid this ^ so the test framework does not depend on
> the broker classes at compile time.
>
> We should support restarting a single node or doing a rolling restart of the
> whole cluster.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)