[ 
https://issues.apache.org/jira/browse/KAFKA-8011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias J. Sax resolved KAFKA-8011.
------------------------------------
      Assignee: Matthias J. Sax  (was: Sophie Blee-Goldman)
    Resolution: Fixed

The currently failing test exposes a real bug (tracked via: 
https://issues.apache.org/jira/browse/KAFKA-10102) – hence, closing this ticket 
as the test itself is not flaky.

> Flaky Test RegexSourceIntegrationTest#testRegexMatchesTopicsAWhenCreated
> ------------------------------------------------------------------------
>
>                 Key: KAFKA-8011
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8011
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Bill Bejeck
>            Assignee: Matthias J. Sax
>            Priority: Blocker
>              Labels: flaky-test, newbie
>             Fix For: 1.0.3, 1.1.2, 2.0.2, 2.1.2, 2.6.0, 2.2.0
>
>         Attachments: 
> org.apache.kafka.streams.integration.RegexSourceIntegrationTest.html, 
> streams_1_0_test_results.png, streams_1_1_tests.png
>
>
> The RegexSourceIntegrationTest#testRegexMatchesTopicsAWhenCreated
> and RegexSourceIntegrationTest#testRegexMatchesTopicsAWhenDeleted  tests use 
> an ArrayList to assert the topics assigned to the Streams application. 
> The ConsumerRebalanceListener used in the test operates on this list as does 
> the TestUtils.waitForCondition() to verify the expected topic assignments.
> Using the same list in both places can cause a ConcurrentModficationException 
> if the rebalance listener modifies the assignment at the same time 
> TestUtils.waitForCondition() is using the list to verify the expected topics. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to