Aljoscha Krettek created FLINK-19377:
----------------------------------------

             Summary: Task can swallow test exceptions which hides test failures
                 Key: FLINK-19377
                 URL: https://issues.apache.org/jira/browse/FLINK-19377
             Project: Flink
          Issue Type: Bug
          Components: Runtime / State Backends, Runtime / Task, Tests
            Reporter: Aljoscha Krettek


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to