Skip to content

Commit 1119d49

Browse files
committed
Disabled a test case that fails intermittently with GitHub Actions, pending revision
1 parent 9433bca commit 1119d49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

httpclient5-testing/src/test/java/org/apache/hc/client5/testing/sync/TestFutureRequestExecutionService.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
import org.junit.jupiter.api.AfterEach;
5858
import org.junit.jupiter.api.Assertions;
5959
import org.junit.jupiter.api.BeforeEach;
60+
import org.junit.jupiter.api.Disabled;
6061
import org.junit.jupiter.api.Test;
6162

6263
@SuppressWarnings("boxing") // test code
@@ -109,7 +110,7 @@ void shouldExecuteSingleCall() throws InterruptedException, ExecutionException {
109110
Assertions.assertTrue(task.get(), "request should have returned OK");
110111
}
111112

112-
@Test
113+
@Test @Disabled("Fails intermittently with GitHub Actions. Needs to be revised")
113114
void shouldCancel() {
114115
final FutureTask<Boolean> task = httpAsyncClientWithFuture.execute(
115116
new HttpGet(uri), HttpClientContext.create(), new OkidokiHandler());

0 commit comments

Comments
 (0)