You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/09/01 20:47:00 UTC
[jira] [Commented] (KAFKA-21014) Fix flaky testAdminRebootstrapDisabled
[ https://issues.apache.org/jira/browse/KAFKA-21014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18110426#comment-18110426 ]
Chia-Ping Tsai commented on KAFKA-21014:
----------------------------------------
There are two possible causes:
# The topic creation may not have completed before the verification.
# The topic metadata may not have propagated to the broker before the verification.
Using `TestUtils.waitForCondition`is probably able to stabilize the test :)
> Fix flaky testAdminRebootstrapDisabled
> --------------------------------------
>
> Key: KAFKA-21014
> URL: https://issues.apache.org/jira/browse/KAFKA-21014
> Project: Kafka
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
>
> Gradle Test Run :clients:clients-integration-tests:test > Gradle Test Executor 10 > ClientRebootstrapTest > testAdminRebootstrapDisabled(ClusterInstance) > testAdminRebootstrapDisabled [1] Type=Raft-Isolated, MetadataVersion=4.5-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.clients.ClientRebootstrapTest.testAdminRebootstrapDisabled(ClientRebootstrapTest.java:101)
> 1 test completed, 1 failed
--
This message was sent by Atlassian Jira
(v8.20.10#820010)