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

ASF GitHub Bot commented on KAFKA-3926:
---------------------------------------

GitHub user bbejeck opened a pull request:

    https://github.com/apache/kafka/pull/1590

    KAFKA-3926: confirm all expected topics added/removed in createStream…

    …Tasks call versus simply asserting createStreamTasks method called.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/bbejeck/kafka 
KAFKA-3926-transient-failures-regex-source-integration-test

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/1590.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 #1590
    
----
commit af7d9cb280699e18f8f1afe84d4f9b22ebdf6352
Author: bbejeck <bbej...@gmail.com>
Date:   2016-07-06T04:39:03Z

    KAFKA-3926: confirm all expected topics added/removed in createStreamTasks 
call versus simply asserting createStreamTasks method called.

----


> Transient failures in 
> org.apache.kafka.streams.integration.RegexSourceIntegrationTest
> -------------------------------------------------------------------------------------
>
>                 Key: KAFKA-3926
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3926
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams, unit tests
>            Reporter: Guozhang Wang
>            Assignee: Bill Bejeck
>
> {code}
> org.apache.kafka.streams.integration.RegexSourceIntegrationTest > 
> testRegexMatchesTopicsAWhenDeleted FAILED
>     java.lang.AssertionError: 
>     Expected: <[TEST-TOPIC-A, TEST-TOPIC-B]>
>          but: was <[TEST-TOPIC-A]>
>         at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
>         at org.junit.Assert.assertThat(Assert.java:956)
>         at org.junit.Assert.assertThat(Assert.java:923)
>         at 
> org.apache.kafka.streams.integration.RegexSourceIntegrationTest.testRegexMatchesTopicsAWhenDeleted(RegexSourceIntegrationTest.java:211)
> {code}
> I think it is due to the fact that some times the rebalance takes much longer 
> than the specified 60 seconds.
> One example: https://builds.apache.org/job/kafka-trunk-jdk8/730/consoleFull



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to