[
https://issues.apache.org/jira/browse/FLINK-18259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17133380#comment-17133380
]
Till Rohrmann commented on FLINK-18259:
---------------------------------------
I think the problem is that the heartbeat timeout for this test is too low
(100ms). On slow machines it can take apparently more time until a heartbeat is
successfully sent. I propose to increase the timeouts a bit.
> HeartbeatManagerTest.testHeartbeatCluster unstable
> --------------------------------------------------
>
> Key: FLINK-18259
> URL: https://issues.apache.org/jira/browse/FLINK-18259
> Project: Flink
> Issue Type: Bug
> Components: Runtime / Coordination, Tests
> Affects Versions: 1.12.0
> Reporter: Robert Metzger
> Priority: Critical
> Labels: test-stability
>
> https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=3265&view=logs&j=0da23115-68bb-5dcd-192c-bd4c8adebde1&t=05b74a19-4ee4-5036-c46f-ada307df6cf0
> {code}
> [ERROR] Tests run: 9, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.209
> s <<< FAILURE! - in org.apache.flink.runtime.heartbeat.HeartbeatManagerTest
> [ERROR]
> testHeartbeatCluster(org.apache.flink.runtime.heartbeat.HeartbeatManagerTest)
> Time elapsed: 0.218 s <<< FAILURE!
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:86)
> at org.junit.Assert.assertTrue(Assert.java:41)
> at org.junit.Assert.assertFalse(Assert.java:64)
> at org.junit.Assert.assertFalse(Assert.java:74)
> at
> org.apache.flink.runtime.heartbeat.HeartbeatManagerTest.testHeartbeatCluster(HeartbeatManagerTest.java:236)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)