[
https://issues.apache.org/jira/browse/BEAM-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ismaël Mejía updated BEAM-694:
------------------------------
Status: Open (was: Triage Needed)
> 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
> Reporter: Eugene Kirpichov
> Priority: Minor
> 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
(v7.6.3#76005)