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

Nikita Shupletsov edited comment on KAFKA-19828 at 11/4/25 5:57 PM:
--------------------------------------------------------------------

Looks like it's because you use real time in the test.

if you replace it with something like {{{}Instant flowTime = 
Instant.ofEpochMilli(0);{}}}, it should fix it


was (Author: JIRAUSER306158):
Looks like it's because you use real time in the test.

if you replace it with something like {{Instant flowTime = 
Instant.ofEpochMilli(0);, }}it should fix it

> 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, log.txt
>
>
> 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)

Reply via email to