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 2023/04/24 16:27:00 UTC

[jira] [Closed] (FLINK-25003) RestClientTest#testConnectionTimeout fails on Java 17

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

Chesnay Schepler closed FLINK-25003.
------------------------------------
    Resolution: Cannot Reproduce

> RestClientTest#testConnectionTimeout fails on Java 17
> -----------------------------------------------------
>
>                 Key: FLINK-25003
>                 URL: https://issues.apache.org/jira/browse/FLINK-25003
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / REST, Tests
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>
> The test fails because the exception type has changed; with the returned exception no longer being a ConnectException but just a plain SocketException, presumably because the JDK fails earlier since it can't find a route.
> We could change the assertion, or change the test somehow to actually work against a server which doesn't allow the establishment of a connection.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)