[
https://issues.apache.org/jira/browse/KAFKA-19828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18032324#comment-18032324
]
Greg F commented on KAFKA-19828:
--------------------------------
I run the test in a loop in a shell script like this:
#!/bin/bash
set -e
for i in \{1..100}; do
echo ========================================================
echo ======================== $i ============================
echo ========================================================
mvn surefire:test -Dtest=ChainedEmitStrategyTopologyTest3
done
I am attaching output of one such run, where first 5 iterations succeeded, but
the 6th one failed
> Intermittent test failures when using chained emit strategy on window close
> ---------------------------------------------------------------------------
>
> Key: KAFKA-19828
> URL: https://issues.apache.org/jira/browse/KAFKA-19828
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Reporter: Greg F
> Priority: Major
> Attachments: ChainedEmitStrategyTopologyTest3.java
>
>
> Hi,
> I have a test case that contains a topology with 2 time windows and chained
> emitStrategy calls. The standalone reproduction use case is attached to this
> issue
> The problem is that about 25% of the time the test fails. About 75% of the
> time the test succeeds. I followed the conclusions of
> !https://issues.apache.org/jira/secure/viewavatar?size=xsmall&avatarId=21133&avatarType=issuetype|width=16,height=16!
> KAFKA-19810
> to make sure that I am sending events at the correct times (at least I think
> my calculations are correct). I really need to get to the bottom of why the
> test fails intermittently, as the test somewhat reflects a real life topology
> of a project I am working on, and we cannot have an intermittently failing
> test in our build pipeline.
> Greg
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)