Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-694

Add TriggerTester methods to check that timers are set

Details

    • Bug
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • runner-core, testing

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jkff Eugene Kirpichov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: