mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-08 19:15:16 +00:00
Disabled a test case that fails intermittently with GitHub Actions, pending revision
This commit is contained in:
parent
9433bcab1c
commit
1119d492fe
@ -57,6 +57,7 @@
|
|||||||
import org.junit.jupiter.api.AfterEach;
|
import org.junit.jupiter.api.AfterEach;
|
||||||
import org.junit.jupiter.api.Assertions;
|
import org.junit.jupiter.api.Assertions;
|
||||||
import org.junit.jupiter.api.BeforeEach;
|
import org.junit.jupiter.api.BeforeEach;
|
||||||
|
import org.junit.jupiter.api.Disabled;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
|
|
||||||
@SuppressWarnings("boxing") // test code
|
@SuppressWarnings("boxing") // test code
|
||||||
@ -109,7 +110,7 @@ void shouldExecuteSingleCall() throws InterruptedException, ExecutionException {
|
|||||||
Assertions.assertTrue(task.get(), "request should have returned OK");
|
Assertions.assertTrue(task.get(), "request should have returned OK");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test @Disabled("Fails intermittently with GitHub Actions. Needs to be revised")
|
||||||
void shouldCancel() {
|
void shouldCancel() {
|
||||||
final FutureTask<Boolean> task = httpAsyncClientWithFuture.execute(
|
final FutureTask<Boolean> task = httpAsyncClientWithFuture.execute(
|
||||||
new HttpGet(uri), HttpClientContext.create(), new OkidokiHandler());
|
new HttpGet(uri), HttpClientContext.create(), new OkidokiHandler());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user