mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
34e436ef6e
TunnelClientTests stopTriggersTunnelClose expects that stopping the client will cause an attempt to read from a connected channel to return -1. With Java 17 on Windows the connection has been reset and a SocketException is thrown instead. This seems reasonable as stopping the client closes the ServerSocketChannel to which the test was connected. This commit updates test to expect a SocketException or a return value of -1. Closes gh-30042 |
||
---|---|---|
.. | ||
src | ||
build.gradle |