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

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

bbejeck commented on pull request #6463: KAFKA-8026: Fix flaky regex source 
integration test 1.0
URL: https://github.com/apache/kafka/pull/6463
 
 
   This PR is an attempt to fix the RegexSourceIntegrationTest flakiness. My 
investigation did not reveal any issues, and I was unable to reproduce the 
failure locally. So I've taken some steps to eliminate what I think could be a 
race condition in the test.
   
   This is a mirror image of #6459 and is the fix for `1.0`
   
   1. Delete and create all topics before each test starts.
   2. Give the streams application in each test a unique application ID
   3.  Create a KafkaStreams instance local to each test.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Flaky Test RegexSourceIntegrationTest#testRegexMatchesTopicsAWhenDeleted
> ------------------------------------------------------------------------
>
>                 Key: KAFKA-8026
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8026
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams, unit tests
>    Affects Versions: 1.0.2, 1.1.1
>            Reporter: Matthias J. Sax
>            Assignee: Bill Bejeck
>            Priority: Critical
>              Labels: flaky-test
>             Fix For: 1.0.3, 1.1.2
>
>
> {quote}java.lang.AssertionError: Condition not met within timeout 15000. 
> Stream tasks not updated
> at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:276)
> at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:254)
> at 
> org.apache.kafka.streams.integration.RegexSourceIntegrationTest.testRegexMatchesTopicsAWhenDeleted(RegexSourceIntegrationTest.java:215){quote}
> Happend in 1.0 and 1.1 builds:
> [https://builds.apache.org/blue/organizations/jenkins/kafka-1.0-jdk7/detail/kafka-1.0-jdk7/263/tests/]
> and
> [https://builds.apache.org/blue/organizations/jenkins/kafka-1.1-jdk7/detail/kafka-1.1-jdk7/249/tests/]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to