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:25:00 UTC

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

Chesnay Schepler created FLINK-27042:
----------------------------------------

             Summary: 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
             Fix For: 1.15.1, 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(StreamTaskITCase.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)