cmccabe commented on code in PR #16454:
URL: https://github.com/apache/kafka/pull/16454#discussion_r1664491334
##########
raft/src/test/java/org/apache/kafka/raft/CandidateStateTest.java:
##########
@@ -58,193 +60,229 @@ private CandidateState newCandidateState(VoterSet voters)
{
);
}
- @Test
- public void testSingleNodeQuorum() {
- CandidateState state =
newCandidateState(voterSetWithLocal(IntStream.empty()));
+ @ParameterizedTest
+ @ValueSource(booleans = { true, false })
Review Comment:
I'm ok with either way. I'm just surprised checkstyle accepts 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]