Disabled a test case that fails intermittently with GitHub Actions, pending revision

This commit is contained in:
Oleg Kalnichevski 2025-01-21 21:23:47 +01:00
parent 9433bcab1c
commit 1119d492fe
1 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ import org.hamcrest.CoreMatchers;
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 @@ class TestFutureRequestExecutionService {
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());