hachikuji commented on a change in pull request #10480: URL: https://github.com/apache/kafka/pull/10480#discussion_r607381875
########## File path: raft/src/test/java/org/apache/kafka/raft/LeaderStateTest.java ########## @@ -36,30 +36,31 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; -public class LeaderStateTest { +public class LeaderStateTest<T> { Review comment: I confess it's a little annoying to see the generic type leak down to here, but I guess that's the price we have to pay. There's a big part of me that wants to remove the generic and let `ApiMessageAndVersion` be the only supported type. Anyway, that is fuel for a separate issue/discussion. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org