You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2019/02/28 15:45:00 UTC
[jira] [Updated] (FLINK-10388) RestClientTest sometimes fails with
AssertionError
[ https://issues.apache.org/jira/browse/FLINK-10388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Metzger updated FLINK-10388:
-----------------------------------
Component/s: Runtime / Web Frontend
> RestClientTest sometimes fails with AssertionError
> --------------------------------------------------
>
> Key: FLINK-10388
> URL: https://issues.apache.org/jira/browse/FLINK-10388
> Project: Flink
> Issue Type: Test
> Components: Runtime / Web Frontend
> Reporter: Ted Yu
> Priority: Minor
>
> Running the test on Linux I got:
> {code}
> testConnectionTimeout(org.apache.flink.runtime.rest.RestClientTest) Time elapsed: 1.918 sec <<< FAILURE!
> java.lang.AssertionError:
> Expected: an instance of org.apache.flink.shaded.netty4.io.netty.channel.ConnectTimeoutException
> but: <org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannel$AnnotatedSocketException: Network is unreachable: /10.255.255.1:80> is a org.apache.flink.shaded.netty4.io.netty.channel.AbstractChannel$AnnotatedSocketException
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> at org.junit.Assert.assertThat(Assert.java:956)
> at org.junit.Assert.assertThat(Assert.java:923)
> at org.apache.flink.runtime.rest.RestClientTest.testConnectionTimeout(RestClientTest.java:69)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)