You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Gunnar Morling (Jira)" <ji...@apache.org> on 2022/12/17 20:09:00 UTC
[jira] [Commented] (FLINK-25003) RestClientTest#testConnectionTimeout fails on Java 17
[ https://issues.apache.org/jira/browse/FLINK-25003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17648939#comment-17648939 ]
Gunnar Morling commented on FLINK-25003:
----------------------------------------
I'll take a look, can any of the committers assign this one to me? // CC [~rmetzger]
> 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
> 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)