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/03 21:29:00 UTC

[jira] [Updated] (FLINK-27042) StreamTaskITCase#testMailboxMetricsScheduling is unstable

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

Chesnay Schepler updated FLINK-27042:
-------------------------------------
    Description: 
{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.

  was:
{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(StreamTaskITCase.java:1823)
{code}
Can be reproduced locally by looping the test. Probably due to wrong assumptions about 2 time measurements being different.


> StreamTaskITCase#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.15.0
>            Reporter: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.16.0, 1.15.1
>
>
> {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)