[ https://issues.apache.org/jira/browse/BEAM-694 ]


    Danny McCormick deleted comment on BEAM-694:
    --------------------------------------

was (Author: JIRAUSER282469):
This issue has been migrated to https://github.com/apache/beam/issues/17927

> Add TriggerTester methods to check that timers are set
> ------------------------------------------------------
>
>                 Key: BEAM-694
>                 URL: https://issues.apache.org/jira/browse/BEAM-694
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-core, testing
>            Reporter: Eugene Kirpichov
>            Priority: P3
>              Labels: easy, starter
>
> TriggerTester exposes a {{fireIfShouldFire(BoundedWIndow)}} method. This is 
> used to prompt a call to the trigger with the current state of the trigger 
> tester (Input Watermarks, elements present, etc), and see if the trigger 
> should fire. This is sufficient to test {{shouldFire}} of the 
> {{TriggerStateMachine}} under test, but does not test that the {{onElement}} 
> method sets an appropriate timer to cause such an interrogation to occur.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to