[ https://issues.apache.org/jira/browse/KAFKA-19452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Rao reassigned KAFKA-19452: ------------------------------- Assignee: Rajani Karuturi > Fix flaky test: > LogRecoveryTest.testHWCheckpointWithFailuresMultipleLogSegments > ------------------------------------------------------------------------------- > > Key: KAFKA-19452 > URL: https://issues.apache.org/jira/browse/KAFKA-19452 > Project: Kafka > Issue Type: Improvement > Reporter: Jun Rao > Assignee: Rajani Karuturi > Priority: Major > > Saw multiple occurrences of the following failure. > [https://github.com/apache/kafka/actions/runs/15937460305/job/44960490730?pr=19964] > and > [https://github.com/apache/kafka/actions/runs/15937660290/job/44960938007?pr=19961.|https://github.com/apache/kafka/actions/runs/15937660290/job/44960938007?pr=19961] > > > {code:java} > 2025-06-27T23:43:12.2936738Z > kafka.server.LogRecoveryTest.testHWCheckpointWithFailuresMultipleLogSegments() > failed, log available in > /home/runner/work/kafka/kafka/core/build/reports/testOutput/kafka.server.LogRecoveryTest.testHWCheckpointWithFailuresMultipleLogSegments().test.stdout > 2025-06-27T23:43:12.2938722Z > 2025-06-27T23:43:12.2939140Z Gradle Test Run :core:test > Gradle Test > Executor 17 > LogRecoveryTest > > testHWCheckpointWithFailuresMultipleLogSegments() FAILED > 2025-06-27T23:43:12.2939940Z org.opentest4j.AssertionFailedError: Did not > observe leader change for partition new-topic-0 after 15000 ms > 2025-06-27T23:43:12.2940561Z at > app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38) > 2025-06-27T23:43:12.2945169Z at > app//org.junit.jupiter.api.Assertions.fail(Assertions.java:138) > 2025-06-27T23:43:12.2946584Z at > app//kafka.utils.TestUtils$.awaitLeaderChange(TestUtils.scala:719) > 2025-06-27T23:43:12.2947923Z at > app//kafka.server.LogRecoveryTest.testHWCheckpointWithFailuresMultipleLogSegments(LogRecoveryTest.scala:218) > {code} > > -- This message was sent by Atlassian Jira (v8.20.10#820010)