[
https://issues.apache.org/jira/browse/GEODE-9698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427891#comment-17427891
]
ASF subversion and git services commented on GEODE-9698:
--------------------------------------------------------
Commit 7dd614387e9f3133de77ff17675d6bf00051276c in geode's branch
refs/heads/develop from Dale Emery
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=7dd6143 ]
GEODE-9536: Disable client version test on Windows (#6971)
PROBLEM
When a server receives a connection request with an unrecognized client
version, it sends an informative reply and immediately closes the
socket.
In this situation, the client wants to throw a
`ServerRefusedConnectionException` with a message that includes the
server's informative reply.
On Windows, when the client attempts to read the server's reply, the
socket throws a `SocketException` with the message "Connection reset".
As a result, the caller never receives the informative
`ServerRefusedConnectionException`.
SOLUTION
Disable this test on Windows until the underlying issue is fixed. See
https://issues.apache.org/jira/browse/GEODE-9698
NOTE
This prepares for an upcoming PR to run all distributed tests (except
explicitly ignored ones like these) on Windows.
> BackwardCompatibilityHigherVersionClientDUnitTest.testHigherVersionedClient
> fails on Windows
> --------------------------------------------------------------------------------------------
>
> Key: GEODE-9698
> URL: https://issues.apache.org/jira/browse/GEODE-9698
> Project: Geode
> Issue Type: Bug
> Components: client/server
> Affects Versions: 1.14.0, 1.15.0
> Reporter: Dale Emery
> Priority: Major
> Labels: needsTriage
>
> {{BackwardCompatibilityHigherVersionClientDUnitTest.testHigherVersionedClient()}}
> fails on Windows.
> When a server receives a connection request with an unrecognized client
> version, it sends an informative reply and immediately closes the socket.
> In this situation, the client wants to throw a
> {{ServerRefusedConnectionException}} with a message that includes the
> server's informative reply.
> On Windows, when the client attempts to read the server's reply, the socket
> throws a {{SocketException}} with the message "Connection reset". Further up
> the call stack, {{ConnectionFactoryImpl.createClientToServerConnection()}}
> quietly discards this exception. As a result, the caller never receives the
> informative {{ServerRefusedConnectionException}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)