You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/timers/HttpClientApiCallTimeoutTest.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -56,8 +56,6 @@ public class HttpClientApiCallTimeoutTest {
56
56
57
57
privateAmazonSyncHttpClienthttpClient;
58
58
59
-
privatefinalstaticintEPSILON_MILLIS = 10;
60
-
61
59
@Before
62
60
publicvoidsetup() {
63
61
httpClient = testClientBuilder()
@@ -72,7 +70,7 @@ public void successfulResponse_SlowResponseHandler_ThrowsApiCallTimeoutException
Copy file name to clipboardExpand all lines: http-clients/netty-nio-client/src/main/java/software/amazon/awssdk/http/nio/netty/internal/http2/Http2PingHandler.java
Copy file name to clipboardExpand all lines: http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/fault/PingTimeoutTest.java
+5-19Lines changed: 5 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -99,37 +99,23 @@ public void methodTeardown() throws InterruptedException {
99
99
netty = null;
100
100
}
101
101
102
-
/**
103
-
* Default ping timeout value is 5000ms, so when the channel has no activity including
104
-
* no data packets received or ping acks received for the timeout value, the connection
105
-
* will be closed. During connection setup for testing, there will be Setting frame and
106
-
* the SettingsAck frame exchanged which counts as activity on the channel, so the channel
107
-
* should timeout during the second interval which is 10 seconds.
Copy file name to clipboardExpand all lines: http-clients/netty-nio-client/src/test/java/software/amazon/awssdk/http/nio/netty/fault/ServerNotRespondingTest.java
+2-4Lines changed: 2 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,6 @@
54
54
importjava.time.Duration;
55
55
importjava.util.concurrent.CompletableFuture;
56
56
importjava.util.concurrent.atomic.AtomicInteger;
57
-
importjava.util.logging.Level;
58
57
importorg.junit.jupiter.api.AfterEach;
59
58
importorg.junit.jupiter.api.BeforeEach;
60
59
importorg.junit.jupiter.api.Test;
@@ -115,9 +114,8 @@ public void connectionNotAckPing_newRequestShouldUseNewConnection() throws Inter
115
114
// First request should succeed
116
115
firstRequest.join();
117
116
118
-
// Wait for Ping to close the connection, it takes 2 * healthCheckPingPeriod (200ms)
0 commit comments