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

Jan Lukavský commented on BEAM-8090:
------------------------------------

Test that would uncover what you are looking for is for example 
[this|https://github.com/apache/beam/pull/9190/files#diff-68ed88cc25171e30985dda4534e68c9bR3165]

> Add test for Self Setting Timers close to GC TImer
> --------------------------------------------------
>
>                 Key: BEAM-8090
>                 URL: https://issues.apache.org/jira/browse/BEAM-8090
>             Project: Beam
>          Issue Type: Test
>          Components: sdk-java-core
>            Reporter: Reza ardeshir rokni
>            Assignee: Reza ardeshir rokni
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Create test for bug around self setting timers and interaction with GC 
> Timers. Create timer that is a milli behind GC so they likely show up in the 
> same bundle.
> Scenario this is expected to catch:
> If a user timer and the GC timer show up in the same bundle, and the user 
> timer resets itself, and the reset timer is not called (because it had to be 
> committed and then restored), then you have your failure.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to