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

Ashwin Pankaj commented on KAFKA-9545:
--------------------------------------

[~cadonna] I ran the test 600 times using the following script
{quote}I=0; while ./gradlew streams:integrationTest --tests 
org.apache.kafka.streams.integration.RegexSourceIntegrationTest.testRegexMatchesTopicsAWhenDeleted
 --rerun --fail-fast; do (( I=$I+1 )); echo "Completed run: $I"; sleep 1; done
{quote}
and the test always passes. The tests were run with the following settings

 
{quote}Starting build with version 3.8.0-SNAPSHOT (commit id 0349f231) using 
Gradle 8.5, Java 11 and Scala 2.13.12
Build properties: maxParallelForks=10, maxScalacThreads=8, maxTestRetries=0
{quote}
Can you please share the command you used to test ?

> Flaky Test `RegexSourceIntegrationTest.testRegexMatchesTopicsAWhenDeleted`
> --------------------------------------------------------------------------
>
>                 Key: KAFKA-9545
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9545
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Jason Gustafson
>            Assignee: Lucas Brutschy
>            Priority: Major
>
> https://builds.apache.org/job/kafka-pr-jdk11-scala2.13/4678/testReport/org.apache.kafka.streams.integration/RegexSourceIntegrationTest/testRegexMatchesTopicsAWhenDeleted/
> {code}
> java.lang.AssertionError: Condition not met within timeout 15000. Stream 
> tasks not updated
>       at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:26)
>       at 
> org.apache.kafka.test.TestUtils.lambda$waitForCondition$5(TestUtils.java:367)
>       at 
> org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:415)
>       at 
> org.apache.kafka.test.TestUtils.retryOnExceptionWithTimeout(TestUtils.java:383)
>       at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:366)
>       at org.apache.kafka.test.TestUtils.waitForCondition(TestUtils.java:337)
>       at 
> org.apache.kafka.streams.integration.RegexSourceIntegrationTest.testRegexMatchesTopicsAWhenDeleted(RegexSourceIntegrationTest.java:224)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>       at 
> org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
>       at 
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to