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.hamcrest.CoreMatchers;
|
||||||
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 @@ class TestFutureRequestExecutionService {
|
||||||
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…
Reference in New Issue