gongxuanzhang commented on code in PR #15928:
URL: https://github.com/apache/kafka/pull/15928#discussion_r1598729254
##########
core/src/test/java/kafka/test/junit/RaftClusterInvocationContext.java:
##########
@@ -134,13 +110,14 @@ public static class RaftClusterInstance implements
ClusterInstance {
private final ConcurrentLinkedQueue<Admin> admins = new
ConcurrentLinkedQueue<>();
private final boolean isCombined;
- RaftClusterInstance(AtomicReference<KafkaClusterTestKit>
clusterReference, AtomicReference<EmbeddedZookeeper> zkReference, ClusterConfig
clusterConfig, boolean isCombined) {
- this.clusterReference = clusterReference;
- this.zkReference = zkReference;
- this.clusterConfig = clusterConfig;
- this.isCombined = isCombined;
+ RaftClusterInstance(RaftClusterInvocationContext context) {
+ this.clusterReference = context.clusterReference;
Review Comment:
Please review it
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]