[
https://issues.apache.org/jira/browse/KAFKA-19040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
黃竣陽 resolved KAFKA-19040.
-------------------------
Resolution: Won't Fix
This issue won't fix after test in different enviroment.
> Fail test BrokerApiVersionsCommandTest#testAdminSendNoBlock
> -----------------------------------------------------------
>
> Key: KAFKA-19040
> URL: https://issues.apache.org/jira/browse/KAFKA-19040
> Project: Kafka
> Issue Type: Test
> Reporter: 黃竣陽
> Assignee: 黃竣陽
> Priority: Minor
> Attachments: temp.log
>
>
> I use command `./gradlew clean :tools:test` and this test always fail on my
> local machine.
> Starting build with version 4.1.0-SNAPSHOT (commit id 96196bb0) using Gradle
> 8.10.2, Java 17 and Scala 2.13.15
> Build properties: ignoreFailures=false, maxParallelForks=32,
> maxScalacThreads=8, maxTestRetries=0
> {code:java}
> org.apache.kafka.tools.BrokerApiVersionsCommandTest.testAdminSendNoBlock(ClusterInstance)[1]
> failed, log available in
> /home/ken/java_workspace/kafka/tools/build/reports/testOutput/org.apache.kafka.tools.BrokerApiVersionsCommandTest.testAdminSendNoBlock(ClusterInstance)[1].test.stdout
> Gradle Test Run :tools:test > Gradle Test Executor 42 >
> BrokerApiVersionsCommandTest > testAdminSendNoBlock(ClusterInstance) >
> testAdminSendNoBlock [1] Type=Raft-Isolated,
> MetadataVersion=4.1-IV0,BrokerSecurityProtocol=PLAINTEXT,BrokerListenerName=ListenerName(EXTERNAL),ControllerSecurityProtocol=PLAINTEXT,ControllerListenerName=ListenerName(CONTROLLER)
> FAILED
> org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
> at
> app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
> at
> app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
> at
> app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
> at
> app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
> at
> app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
> at
> app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
> at
> app//org.apache.kafka.tools.BrokerApiVersionsCommandTest.testAdminSendNoBlock(BrokerApiVersionsCommandTest.java:96)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)