We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6c2e57 commit 9387456Copy full SHA for 9387456
1 file changed
http-clients/netty-nio-client/src/test/java/NettyClientProxyConfigurationTest.java
@@ -13,7 +13,7 @@
13
* permissions and limitations under the License.
14
*/
15
16
-import java.net.ConnectException;
+import java.io.IOException;
17
import java.util.concurrent.ExecutionException;
18
import software.amazon.awssdk.http.SdkHttpClient;
19
import software.amazon.awssdk.http.async.SdkAsyncHttpClient;
@@ -43,6 +43,6 @@ protected Class<? extends Exception> getProxyFailedExceptionType() {
43
44
@Override
45
protected Class<? extends Exception> getProxyFailedCauseExceptionType() {
46
- return ConnectException.class;
+ return IOException.class;
47
}
48
0 commit comments