[
https://issues.apache.org/jira/browse/KAFKA-17408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876470#comment-17876470
]
黃竣陽 commented on KAFKA-17408:
-----------------------------
Hi [~chia7712], if you're not work on this, Could you assign to me? Thank you.
> Fix flaky testShouldCountClicksPerRegionWithNamedRepartitionTopic
> -----------------------------------------------------------------
>
> Key: KAFKA-17408
> URL: https://issues.apache.org/jira/browse/KAFKA-17408
> Project: Kafka
> Issue Type: Test
> Components: streams, unit tests
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Major
> Labels: flaky-test
>
> {code:java}
> org.opentest4j.AssertionFailedError: Condition not met within timeout 60000.
> Did not receive all [KeyValue(americas, 101), KeyValue(europe, 109),
> KeyValue(asia, 124)] records from topic output-topic (got []) ==> expected:
> <true> but was: <false>Stacktraceorg.opentest4j.AssertionFailedError:
> Condition not met within timeout 60000. Did not receive all
> [KeyValue(americas, 101), KeyValue(europe, 109), KeyValue(asia, 124)] records
> from topic output-topic (got []) ==> expected: <true> but was: <false> at
> org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
> at
> org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
> at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
> at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36) at
> org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214) at
> org.apache.kafka.test.TestUtils.lambda$waitForCondition$3(TestUtils.java:397)
> at
> org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:445)
> at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:394)
> at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:378) at
> org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:368) at
> org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitUntilFinalKeyValueRecordsReceived(IntegrationTestUtils.java:873)
> at
> org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitUntilFinalKeyValueRecordsReceived(IntegrationTestUtils.java:822)
> at
> org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitUntilFinalKeyValueRecordsReceived(IntegrationTestUtils.java:785)
> at
> org.apache.kafka.streams.scala.utils.StreamToTableJoinScalaIntegrationTestBase.produceNConsume(StreamToTableJoinScalaIntegrationTestBase.scala:139)
> at
> org.apache.kafka.streams.scala.StreamToTableJoinScalaIntegrationTestImplicitSerdes.testShouldCountClicksPerRegionWithNamedRepartitionTopic(StreamToTableJoinScalaIntegrationTestImplicitSerdes.scala:118)
> at java.lang.reflect.Method.invoke(Method.java:498) at
> java.util.ArrayList.forEach(ArrayList.java:1259) at
> java.util.ArrayList.forEach(ArrayList.java:1259) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)