[
https://issues.apache.org/jira/browse/KAFKA-19481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lianet Magrans resolved KAFKA-19481.
------------------------------------
Resolution: Fixed
The fix seems to have solved the flakiness indeed
[https://develocity.apache.org/scans/tests?search.relativeStartTime=P28D&search.rootProjectNames=kafka&search.tags=trunk&search.timeZoneId=America%2FToronto&tests.container=kafka.api.AuthorizerIntegrationTest&tests.sortField=FLAKY&tests.test=testConsumerGroupHeartbeatWithRegex()]
Closing this and we can reopen if ever it becomes flaky again. Thanks!
> Fix flaky test AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex()
> ------------------------------------------------------------------------------
>
> Key: KAFKA-19481
> URL: https://issues.apache.org/jira/browse/KAFKA-19481
> Project: Kafka
> Issue Type: Improvement
> Reporter: Sushant Mahajan
> Assignee: Jacob Montemayor
> Priority: Major
>
> Observed in
> [https://github.com/apache/kafka/actions/runs/16086455065/job/45398324767?pr=20104]
>
> {code:java}
> 2025-07-05T09:11:08.8004324Z Gradle Test Run :core:test > Gradle Test
> Executor 21 > SaslOAuthBearerSslEndToEndAuthorizationTest >
> testProduceConsumeViaSubscribe(String) >
> testProduceConsumeViaSubscribe(String).groupProtocol=classic STARTED
> 2025-07-05T09:11:09.6005665Z
> kafka.api.AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex()
> failed, log available in
> /home/runner/work/kafka/kafka/core/build/reports/testOutput/kafka.api.AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex().test.stdout
> 2025-07-05T09:11:09.6008071Z 2025-07-05T09:11:09.6008981Z Gradle Test Run
> :core:test > Gradle Test Executor 22 > AuthorizerIntegrationTest >
> testConsumerGroupHeartbeatWithRegex() FAILED 2025-07-05T09:11:09.6011714Z
> org.opentest4j.AssertionFailedError: Unexpected assignment
> ConsumerGroupHeartbeatResponseData(throttleTimeMs=0, errorCode=0,
> errorMessage=null, memberId='dBGv01cmTbOyJoyQDgpFxg', memberEpoch=1,
> heartbeatIntervalMs=5000, assignment=null) ==> expected: not <null>
> 2025-07-05T09:11:09.6014642Z at
> app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:152)
> 2025-07-05T09:11:09.6016154Z at
> app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
> 2025-07-05T09:11:09.6017649Z at
> app//org.junit.jupiter.api.AssertNotNull.failNull(AssertNotNull.java:49)
> 2025-07-05T09:11:09.6018855Z at
> app//org.junit.jupiter.api.AssertNotNull.assertNotNull(AssertNotNull.java:35)
> 2025-07-05T09:11:09.6020035Z at
> app//org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:312)
> 2025-07-05T09:11:09.6021483Z at
> app//kafka.api.AuthorizerIntegrationTest.sendAndReceiveRegexHeartbeat(AuthorizerIntegrationTest.scala:4085)
> 2025-07-05T09:11:09.6051031Z at
> app//kafka.api.AuthorizerIntegrationTest.testConsumerGroupHeartbeatWithRegex(AuthorizerIntegrationTest.scala:3125){code}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)