jolshan commented on code in PR #13231:
URL: https://github.com/apache/kafka/pull/13231#discussion_r1107589884


##########
clients/src/test/java/org/apache/kafka/common/requests/AddPartitionsToTxnResponseTest.java:
##########
@@ -84,16 +88,59 @@ public void testParse() {
 
         topicCollection.add(topicResult);
 
-        AddPartitionsToTxnResponseData data = new 
AddPartitionsToTxnResponseData()
-                                                  .setResults(topicCollection)
-                                                  
.setThrottleTimeMs(throttleTimeMs);
-        AddPartitionsToTxnResponse response = new 
AddPartitionsToTxnResponse(data);
-
         for (short version : ApiKeys.ADD_PARTITIONS_TO_TXN.allVersions()) {

Review Comment:
   I thought maybe we didn't want to redo the top steps every time but sure i 
can change it.



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