You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/04/05 08:07:00 UTC

[jira] [Closed] (FLINK-27042) StreamTaskTest#testMailboxMetricsScheduling is unstable

     [ https://issues.apache.org/jira/browse/FLINK-27042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler closed FLINK-27042.
------------------------------------
    Resolution: Fixed

master: 450a142a58d48c92a9c2c4c82c317cfdb9548a5f

> StreamTaskTest#testMailboxMetricsScheduling is unstable
> -------------------------------------------------------
>
>                 Key: FLINK-27042
>                 URL: https://issues.apache.org/jira/browse/FLINK-27042
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Runtime / Task, Tests
>    Affects Versions: 1.16.0
>            Reporter: Chesnay Schepler
>            Assignee: Sebastian Mattheis
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.16.0
>
>
> {code:java}
> java.lang.AssertionError: 
> Expected: a value greater than <0L>
>      but: <0L> was equal to <0L>
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> 	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
> 	at org.apache.flink.streaming.runtime.tasks.StreamTaskITCase.testMailboxMetricsScheduling(StreamTaskTest.java:1823)
> {code}
> Can be reproduced locally by looping the test. Probably due to wrong assumptions about 2 time measurements being different.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)