chia7712 commented on code in PR #19883:
URL: https://github.com/apache/kafka/pull/19883#discussion_r2133990203


##########
core/src/test/scala/unit/kafka/server/ReplicaManagerTest.scala:
##########
@@ -5741,23 +5738,26 @@ class ReplicaManagerTest {
     }
   }
 
-  private def topicsCreateDelta(startId: Int, isStartIdLeader: Boolean, 
partition:Int = 0, directoryIds: List[Uuid] = List.empty): TopicsDelta = {
+  private def topicsCreateDelta(startId: Int, isStartIdLeader: Boolean, 
partitions:List[Int] = List(0), directoryIds: List[Uuid] = List.empty, 
topicName: String = "foo", topicId: Uuid = FOO_UUID): TopicsDelta = {

Review Comment:
   there are many helpers used to create delta, such as `topicsCreateDelta`, 
`createFollowerDelta`, `createLeaderDelta`. we might need to clean it down the 
line



-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to