dengziming created KAFKA-10644: ---------------------------------- Summary: Fix VotedToUnattached test error Key: KAFKA-10644 URL: https://issues.apache.org/jira/browse/KAFKA-10644 Project: Kafka Issue Type: Sub-task Components: unit tests Reporter: dengziming
codes of `QuorumStateTest.testVotedToUnattachedHigherEpoch` is not in consistent with its name, the method name is VotedToUnattached, but the code is UnattachedToUnattached: ``` state.initialize(new OffsetAndEpoch(0L, logEndEpoch)); state.transitionToUnattached(5); long remainingElectionTimeMs = state.unattachedStateOrThrow().remainingElectionTimeMs(time.milliseconds()); time.sleep(1000); state.transitionToUnattached(6); ``` -- This message was sent by Atlassian Jira (v8.3.4#803005)