You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/09/23 15:11:03 UTC

[jira] [Commented] (FLINK-19377) EventTimeWindowCheckpointingITCase can swallow test exceptions which hides test failures

    [ https://issues.apache.org/jira/browse/FLINK-19377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17200884#comment-17200884 ] 

Aljoscha Krettek commented on FLINK-19377:
------------------------------------------

Oh boy, I finally figured it out. The window size/slide etc. parameters are parameterized based on the state backend. The parameters used for the heap backend happen to also work when you use tumbling windows. That’s why you get different failure behaviour for different state backend types…

> EventTimeWindowCheckpointingITCase 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: API / DataStream, Tests
>    Affects Versions: 1.8.3, 1.9.3, 1.10.2, 1.11.2
>            Reporter: Aljoscha Krettek
>            Priority: Major
>             Fix For: 1.12.0, 1.11.3
>
>
> 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)