[ https://issues.apache.org/jira/browse/KAFKA-4859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15923105#comment-15923105 ]
ASF GitHub Bot commented on KAFKA-4859: --------------------------------------- GitHub user original-brownbear opened a pull request: https://github.com/apache/kafka/pull/2680 KAFKA-4859: Raised Timeout This fixes https://issues.apache.org/jira/browse/KAFKA-4859 for me over hundreds of iterations while I could easily reproduce it with less than ~30-40 iterations without the increased timeout. Also raising the timeout (at least on my setup) looks like a valid approach looking at test runtimes being consistently slightly above those 30s default timeout coming from `org.apache.kafka.streams.integration.utils.IntegrationTestUtils#DEFAULT_TIMEOUT`.  You can merge this pull request into a Git repository by running: $ git pull https://github.com/original-brownbear/kafka KAFKA-4859 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2680.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2680 ---- commit 7f2d8854e369ced5c3a6e44da9042a84712601a1 Author: Armin Braun <m...@obrown.io> Date: 2017-03-13T22:35:06Z KAFKA-4859 Raised Timeout ---- > Transient test failure: > org.apache.kafka.streams.integration.JoinIntegrationTest.shouldCountClicksPerRegion > (again) > ------------------------------------------------------------------------------------------------------------------- > > Key: KAFKA-4859 > URL: https://issues.apache.org/jira/browse/KAFKA-4859 > Project: Kafka > Issue Type: Sub-task > Components: streams > Reporter: Armin Braun > Assignee: Armin Braun > > Slightly different than KAFKA-3874 in terms of the way it fails. > Now we have: > {code} > Error Message > java.lang.AssertionError: Condition not met within timeout 30000. Expecting 3 > records from topic output-topic-2 while only received 0: [] > Stacktrace > java.lang.AssertionError: Condition not met within timeout 30000. Expecting 3 > records from topic output-topic-2 while only received 0: [] > at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:257) > at > org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitUntilMinKeyValueRecordsReceived(IntegrationTestUtils.java:206) > at > org.apache.kafka.streams.integration.utils.IntegrationTestUtils.waitUntilMinKeyValueRecordsReceived(IntegrationTestUtils.java:175) > at > org.apache.kafka.streams.integration.KStreamKTableJoinIntegrationTest.shouldCountClicksPerRegion(KStreamKTableJoinIntegrationTest.java:297) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > {code} > e.g. here https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/2032/ -- This message was sent by Atlassian JIRA (v6.3.15#6346)