alanlau28 commented on code in PR #23965:
URL: https://github.com/apache/kafka/pull/23965#discussion_r4514810711


##########
metadata/src/test/java/org/apache/kafka/controller/ReplicationControlManagerTest.java:
##########
@@ -3330,7 +3330,7 @@ public void 
testReassignPartitionsHandlesNewReassignmentThatRemovesPreviouslyAdd
                     setNewIsrWithEpochs(isrWithDefaultEpoch(0, 1, 2))))));
         ControllerResult<AlterPartitionResponseData> alterPartitionResult = 
replication.alterPartition(
             anonymousContextFor(ApiKeys.ALTER_PARTITION),
-            new 
AlterPartitionRequest.Builder(alterPartitionRequestData).build().data());
+            new AlterPartitionRequest.Builder(alterPartitionRequestData, 
(short) 3).build().data());

Review Comment:
   i'll make a follow up PR for the other tests to use 
`requestHeaderVersion(...)`



-- 
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]

Reply via email to