kafka icon indicating copy to clipboard operation
kafka copied to clipboard

KAFKA-19324: Make org.apache.kafka.common.test.TestUtils package-private to prevent cross-module access

Open YutaLin opened this issue 7 months ago • 3 comments

Description

  • Replace org.apache.kafka.common.test.TestUtils with org.apache.kafka.test.TestUtils in outer package modules to standardize test utility usage
  • Move waitUntilLeaderIsElectedOrChangedWithAdmin method from org.apache.kafka.test.TestUtils to ClusterInstance and refactor for better code organization
  • Add org.apache.kafka.test.TestUtils dependency to transaction-coordinator module to fix missing dependency

Reviewers: PoAn Yang [email protected], Ken Huang [email protected], Ken Huang [email protected], Chia-Ping Tsai [email protected]

YutaLin avatar Jun 03 '25 02:06 YutaLin

@YutaLin please fix the conflicts and update the title

chia7712 avatar Jun 05 '25 16:06 chia7712

@YutaLin please fix the build error

chia7712 avatar Jun 06 '25 19:06 chia7712

@YutaLin please eliminate the conflicts

chia7712 avatar Jun 07 '25 21:06 chia7712

Add org.apache.kafka.test.TestUtils dependency to transaction-coordinator module to fix missing dependency

It is out-of-date, right?

chia7712 avatar Jun 22 '25 14:06 chia7712