-
Notifications
You must be signed in to change notification settings - Fork 14.8k
KAFKA-19755 Move KRaftClusterTest from core module to server module [3/4] #21175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
# Conflicts: # core/src/test/scala/integration/kafka/server/KRaftClusterTest.scala # server/src/test/java/org/apache/kafka/server/KRaftClusterTest.java
|
@DL1231 Could you merge trunk in to trigger CI again? |
chia7712
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DL1231 thanks for this patch
| @Timeout(120) | ||
| @Tag("integration") | ||
| public class KRaftClusterTest { | ||
| private static final Logger log = LoggerFactory.getLogger(KRaftClusterTest.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
log -> LOG
| public void testIncrementalAlterConfigs() throws Exception { | ||
| try (KafkaClusterTestKit cluster = new KafkaClusterTestKit.Builder( | ||
| new TestKitNodes.Builder() | ||
| .setNumBrokerNodes(4) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It appears that 3 brokers are sufficient for this test
| log.debug("setting log4j"); | ||
| LOG_2.debug("setting log4j"); | ||
|
|
||
| ConfigResource broker2 = new ConfigResource(Type.BROKER_LOGGER, "2"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could scale down the broker count for this test, right?
Move KRaftClusterTest from core module to server module.
Rewrite