Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19377

EventTimeWindowCheckpointingITCase setup can hide problems when changing parameters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.3, 1.9.3, 1.10.2, 1.11.2
    • 1.12.0
    • API / DataStream, Tests
    • None

    Description

      I noticed this while debugging EventTimeWindowCheckpointingITCase. If you change testSlidingWindows() to use a tumbling window instead of the sliding window the test should fail. Interestingly, the tests only fail when using the RocksDB backend but not for the heap-based backends.

      You can follow the flow by setting a breakpoint on the AssertionError being thrown in ValidatingSink. Somewhere in the Task innards it will be suppressed/swallowed and the test will succeed.

      Attachments

        Activity

          People

            aljoscha Aljoscha Krettek
            aljoscha Aljoscha Krettek
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: