[ 
https://issues.apache.org/jira/browse/KAFKA-7957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17554984#comment-17554984
 ] 

Igor Soarez commented on KAFKA-7957:
------------------------------------

+1 on re-enabling. I ran this over 20k iterations, couldn't reproduce.

 
{code:java}
#!/bin/bash

set -euo pipefail

test() {
  ./gradlew \
    :core:integrationTest \
    -Prerun-tests \
    -PtestLoggingEvents=failed \
    --tests kafka.network.SocketServerTest.closingChannelWithBufferedReceives \
    --tests 
kafka.server.DynamicBrokerReconfigurationTest.testDefaultTopicConfig \
    --tests 
kafka.server.DynamicBrokerReconfigurationTest.testMetricsReporterUpdate \
    --tests 
kafka.server.DynamicBrokerReconfigurationTest.testUncleanLeaderElectionEnable \
    --fail-fast \
    --quiet
}

I=0
while test
do (( I=$I+1 ))
  echo "Completed run: $I"
  sleep 1
done  {code}

> Flaky Test DynamicBrokerReconfigurationTest#testMetricsReporterUpdate
> ---------------------------------------------------------------------
>
>                 Key: KAFKA-7957
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7957
>             Project: Kafka
>          Issue Type: Bug
>          Components: core, unit tests
>    Affects Versions: 2.2.0
>            Reporter: Matthias J. Sax
>            Priority: Blocker
>              Labels: flaky-test
>             Fix For: 3.3.0
>
>
> To get stable nightly builds for `2.2` release, I create tickets for all 
> observed test failures.
> [https://jenkins.confluent.io/job/apache-kafka-test/job/2.2/18/]
> {quote}java.lang.AssertionError: Messages not sent at 
> kafka.utils.TestUtils$.fail(TestUtils.scala:356) at 
> kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:766) at 
> kafka.server.DynamicBrokerReconfigurationTest.startProduceConsume(DynamicBrokerReconfigurationTest.scala:1270)
>  at 
> kafka.server.DynamicBrokerReconfigurationTest.testMetricsReporterUpdate(DynamicBrokerReconfigurationTest.scala:650){quote}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to