Skip to content

MINOR: Migrate NodeToControllerRequestThreadTest from Scala to Java#21693

Merged
FrankYang0529 merged 2 commits intoapache:trunkfrom
DL1231:MINOR_migrate_nodeTest
Mar 11, 2026
Merged

MINOR: Migrate NodeToControllerRequestThreadTest from Scala to Java#21693
FrankYang0529 merged 2 commits intoapache:trunkfrom
DL1231:MINOR_migrate_nodeTest

Conversation

@DL1231
Copy link
Collaborator

@DL1231 DL1231 commented Mar 10, 2026

Move NodeToControllerRequestThreadTest from core to the server module
and rewrite in Java.

Reviewers: PoAn Yang payang@apache.org

@github-actions github-actions bot added triage PRs from the community core Kafka Broker tests Test fixes (including flaky tests) labels Mar 10, 2026
Move NodeToControllerRequestThreadTest from core (kafka.server) to the
server module (org.apache.kafka.server) and rewrite in Java. Use real
Supplier implementations instead of mocking to avoid unchecked cast
warnings from generic type erasure. Remove the now-unused
TestControllerRequestCompletionHandler from TestUtils.scala.
@DL1231 DL1231 force-pushed the MINOR_migrate_nodeTest branch from 425fcce to 1bf8767 Compare March 10, 2026 01:49
@DL1231 DL1231 requested a review from chia7712 March 10, 2026 03:34
@DL1231 DL1231 requested a review from FrankYang0529 March 11, 2026 01:26
@github-actions github-actions bot removed the triage PRs from the community label Mar 11, 2026
@FrankYang0529 FrankYang0529 merged commit 26543fa into apache:trunk Mar 11, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Kafka Broker tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants