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 2025/01/21 20:25:22 UTC

(httpcomponents-client) branch 5.4.x updated: Disabled a test case that fails intermittently with GitHub Actions, pending revision

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

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


The following commit(s) were added to refs/heads/5.4.x by this push:
     new 1119d492f Disabled a test case that fails intermittently with GitHub Actions, pending revision
1119d492f is described below

commit 1119d492fe705bdc6a7891c5dddf4160b5f4b3f3
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Tue Jan 21 21:23:47 2025 +0100

    Disabled a test case that fails intermittently with GitHub Actions, pending revision
---
 .../hc/client5/testing/sync/TestFutureRequestExecutionService.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestFutureRequestExecutionService.java b/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestFutureRequestExecutionService.java
index 089c31f6f..f62fe2f53 100644
--- a/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestFutureRequestExecutionService.java
+++ b/httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestFutureRequestExecutionService.java
@@ -57,6 +57,7 @@
 import org.junit.jupiter.api.AfterEach;
 import org.junit.jupiter.api.Assertions;
 import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Disabled;
 import org.junit.jupiter.api.Test;
 
 @SuppressWarnings("boxing") // test code
@@ -109,7 +110,7 @@ void shouldExecuteSingleCall() throws InterruptedException, ExecutionException {
         Assertions.assertTrue(task.get(), "request should have returned OK");
     }
 
-    @Test
+    @Test @Disabled("Fails intermittently with GitHub Actions. Needs to be revised")
     void shouldCancel() {
         final FutureTask<Boolean> task = httpAsyncClientWithFuture.execute(
             new HttpGet(uri), HttpClientContext.create(), new OkidokiHandler());