You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2026/09/17 13:55:23 UTC

(httpcomponents-client) 01/01: Moved tls handshake timeout integration tests to 'time-out' to be executed manually during release preparation due to those tests failing intermittently in CI

This is an automated email from the ASF dual-hosted git repository.

ok2c pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/httpcomponents-client.git

commit 6579979823c06ba3716ac8398353fc613bb4e42d
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Thu Sep 17 15:53:20 2026 +0200

    Moved tls handshake timeout integration tests to 'time-out' to be executed manually during release preparation due to those tests failing intermittently in CI
---
 .../org/apache/hc/client5/testing/async/TestAsyncSocketTimeout.java     | 2 ++
 .../org/apache/hc/client5/testing/sync/TestTlsHandshakeTimeout.java     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/async/TestAsyncSocketTimeout.java b/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/async/TestAsyncSocketTimeout.java
index aae0ecb1b..cad09b80a 100644
--- a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/async/TestAsyncSocketTimeout.java
+++ b/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/async/TestAsyncSocketTimeout.java
@@ -39,6 +39,7 @@
 import org.apache.hc.core5.http.URIScheme;
 import org.apache.hc.core5.io.CloseMode;
 import org.junit.jupiter.api.Nested;
+import org.junit.jupiter.api.Tag;
 import org.junit.jupiter.api.Timeout;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.CsvSource;
@@ -117,6 +118,7 @@ void closeClient(final TestAsyncClient client) {
     }
 }
 
+@Tag("time-out")
 public class TestAsyncSocketTimeout {
     @Nested
     class Http extends AbstractTestSocketTimeout {
diff --git a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestTlsHandshakeTimeout.java b/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestTlsHandshakeTimeout.java
index 6c5ec827e..c59357af7 100644
--- a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestTlsHandshakeTimeout.java
+++ b/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestTlsHandshakeTimeout.java
@@ -42,6 +42,7 @@
 import org.apache.hc.client5.testing.SSLTestContexts;
 import org.apache.hc.client5.testing.tls.TlsHandshakeTimeoutServer;
 import org.apache.hc.core5.http.ClassicHttpRequest;
+import org.junit.jupiter.api.Tag;
 import org.junit.jupiter.api.Timeout;
 import org.junit.jupiter.params.ParameterizedTest;
 import org.junit.jupiter.params.provider.CsvSource;
@@ -51,6 +52,7 @@
 import static org.junit.jupiter.api.Assertions.assertThrows;
 import static org.junit.jupiter.api.Assertions.assertTrue;
 
+@Tag("time-out")
 public class TestTlsHandshakeTimeout {
     @Timeout(5)
     @ParameterizedTest