mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
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 |
||
---|---|---|
.. | ||
spring-boot | ||
spring-boot-actuator | ||
spring-boot-actuator-autoconfigure | ||
spring-boot-autoconfigure | ||
spring-boot-cli | ||
spring-boot-dependencies | ||
spring-boot-devtools | ||
spring-boot-docs | ||
spring-boot-parent | ||
spring-boot-properties-migrator | ||
spring-boot-starters | ||
spring-boot-test | ||
spring-boot-test-autoconfigure | ||
spring-boot-tools |