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 2022/10/07 08:15:55 UTC
[httpcomponents-core] branch github_ci_on_win updated (7a2b87a53 -> fd5d140ad)
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a change to branch github_ci_on_win
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
discard 7a2b87a53 Enable debug logging in integration tests
new fd5d140ad Enable debug logging in integration tests
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (7a2b87a53)
\
N -- N -- N refs/heads/github_ci_on_win (fd5d140ad)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/maven.yml | 2 +-
.../hc/core5/testing/nio/Http1IntegrationTest.java | 17 +++++++++--------
2 files changed, 10 insertions(+), 9 deletions(-)
[httpcomponents-core] 01/01: Enable debug logging in integration tests
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch github_ci_on_win
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
commit fd5d140ade67ba1a886027592e1835b10c0cb4b0
Author: Oleg Kalnichevski <ol...@apache.org>
AuthorDate: Wed Oct 5 09:50:56 2022 +0200
Enable debug logging in integration tests
---
.github/workflows/maven.yml | 2 +-
.../testing/nio/LoggingExceptionCallback.java | 1 +
.../hc/core5/testing/nio/Http1IntegrationTest.java | 93 +++++++++++++++++++---
.../testing/nio/InternalHttp1ServerTestBase.java | 8 +-
httpcore5-testing/src/test/resources/log4j2.xml | 8 +-
5 files changed, 98 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 1c03a67a4..e8a9078e8 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -57,4 +57,4 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
- run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false -P-use-toolchains
+ run: mvn -V --file pom.xml --no-transfer-progress -DtrimStackTrace=false -P-use-toolchains -Dtest=Http1IntegrationTest -DfailIfNoTests=false
diff --git a/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/LoggingExceptionCallback.java b/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/LoggingExceptionCallback.java
index da097e947..410b2bad8 100644
--- a/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/LoggingExceptionCallback.java
+++ b/httpcore5-testing/src/main/java/org/apache/hc/core5/testing/nio/LoggingExceptionCallback.java
@@ -42,6 +42,7 @@ public class LoggingExceptionCallback implements Callback<Exception> {
@Override
public void execute(final Exception ex) {
+ ex.printStackTrace(System.out);
log.error(ex.getMessage(), ex);
}
diff --git a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1IntegrationTest.java b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1IntegrationTest.java
index 663fd6c8a..20e6e4eda 100644
--- a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1IntegrationTest.java
+++ b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/Http1IntegrationTest.java
@@ -136,6 +136,7 @@ import org.apache.hc.core5.util.Timeout;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
@@ -166,7 +167,7 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
@Before
public void setup() throws Exception {
- log.debug("Starting up test client");
+ log.debug("Starting up test client: {}", name.getMethodName());
client = new Http1TestClient(
buildReactorConfig(),
scheme == URIScheme.HTTPS ? SSLTestContexts.createClientSSLContext() : null, null, null);
@@ -178,7 +179,7 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
@After
public void cleanup() throws Exception {
- log.debug("Shutting down test client");
+ log.debug("Shutting down test client: {}", name.getMethodName());
if (client != null) {
client.shutdown(TimeValue.ofSeconds(5));
}
@@ -194,6 +195,7 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
@Test
public void testSimpleGet() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -221,10 +223,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response1.getCode());
Assert.assertEquals("Hi there", entity1);
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testSimpleGetConnectionClose() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -255,10 +259,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals("Hi there", entity1);
}
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testSimpleGetIdentityTransfer() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -292,11 +298,13 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response.getCode());
Assert.assertEquals("Hi there", entity);
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testPostIdentityTransfer() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -332,10 +340,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response.getCode());
Assert.assertEquals("Hi there", entity);
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testPostIdentityTransferOutOfSequenceResponse() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -371,10 +381,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(500, response.getCode());
Assert.assertEquals("Go away", entity);
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testSimpleGetsPipelined() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -406,10 +418,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response.getCode());
Assert.assertEquals("Hi there", entity);
}
+ log.debug("end: {}", name.getMethodName());
}
- @Test
+ @Test @Ignore
public void testLargeGet() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -456,10 +470,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
while (t2.hasMoreTokens()) {
Assert.assertEquals("0123456789abcdef", t2.nextToken());
}
+ log.debug("end: {}", name.getMethodName());
}
- @Test
+ @Test @Ignore
public void testLargeGetsPipelined() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -495,10 +511,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals("0123456789abcdef", t.nextToken());
}
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testBasicPost() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -527,10 +545,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response1.getCode());
Assert.assertEquals("Hi back", entity1);
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testBasicPostPipelined() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -563,10 +583,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response.getCode());
Assert.assertEquals("Hi back", entity);
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testHttp10Post() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -596,10 +618,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response1.getCode());
Assert.assertEquals("Hi back", entity1);
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testNoEntityPost() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -628,10 +652,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response1.getCode());
Assert.assertEquals("Hi back", entity1);
}
+ log.debug("end: {}", name.getMethodName());
}
- @Test
+ @Test @Ignore
public void testLargePost() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -664,10 +690,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals("0123456789abcdef", t.nextToken());
}
}
+ log.debug("end: {}", name.getMethodName());
}
- @Test
+ @Test @Ignore
public void testPostsPipelinedLargeResponse() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -704,11 +732,13 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals("0123456789abcdef", t.nextToken());
}
}
+ log.debug("end: {}", name.getMethodName());
}
- @Test
+ @Test @Ignore
public void testLargePostsPipelined() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -745,10 +775,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals("0123456789abcdef", t.nextToken());
}
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testSimpleHead() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -775,10 +807,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response1.getCode());
Assert.assertNull(result.getBody());
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testSimpleHeadConnectionClose() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -808,10 +842,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNull(result.getBody());
}
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testHeadPipelined() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -842,10 +878,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response1.getCode());
Assert.assertNull(result.getBody());
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testExpectationFailed() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -944,10 +982,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull("You shall not pass", result4.getBody());
Assert.assertFalse(ioSession.isOpen());
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testExpectationFailedCloseConnection() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1010,10 +1050,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull("You shall not pass", result1.getBody());
Assert.assertFalse(streamEndpoint.isOpen());
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testDelayedExpectationVerification() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1116,10 +1158,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertEquals(200, response.getCode());
Assert.assertNotNull("All is well", result.getBody());
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testPrematureResponse() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1215,10 +1259,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull(response1);
Assert.assertEquals(HttpStatus.SC_UNAUTHORIZED, response1.getCode());
Assert.assertNotNull("You shall not pass", result1.getBody());
+ log.debug("end: {}", name.getMethodName());
}
- @Test
+ @Test @Ignore
public void testSlowResponseConsumer() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1276,10 +1322,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
while (t1.hasMoreTokens()) {
Assert.assertEquals("0123456789abcd", t1.nextToken());
}
+ log.debug("end: {}", name.getMethodName());
}
- @Test
+ @Test @Ignore
public void testSlowRequestProducer() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1332,10 +1380,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
while (t1.hasMoreTokens()) {
Assert.assertEquals("0123456789abcdef", t1.nextToken());
}
+ log.debug("end: {}", name.getMethodName());
}
- @Test
+ @Test @Ignore
public void testSlowResponseProducer() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1416,10 +1466,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
while (t1.hasMoreTokens()) {
Assert.assertEquals("0123456789abcd", t1.nextToken());
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testPipelinedConnectionClose() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1483,10 +1535,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertTrue(future4.isCancelled());
} catch (final ExecutionException ignore) {
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testPipelinedInvalidRequest() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello*", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1538,6 +1592,7 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.fail("ExecutionException expected");
} catch (final CancellationException | ExecutionException ignore) {
}
+ log.debug("end: {}", name.getMethodName());
}
private static final byte[] GARBAGE = "garbage".getBytes(StandardCharsets.US_ASCII);
@@ -1587,6 +1642,7 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
@Test
public void testTruncatedChunk() throws Exception {
+ log.debug("start: {}", name.getMethodName());
final InetSocketAddress serverEndpoint = server.start(new InternalServerHttp1EventHandlerFactory(
HttpProcessors.server(),
new HandlerFactory<AsyncServerExchangeHandler>() {
@@ -1677,10 +1733,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertTrue(cause instanceof MalformedChunkCodingException);
Assert.assertEquals("garbage", entityConsumer.generateContent());
}
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testExceptionInHandler() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1715,10 +1773,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull(response1);
Assert.assertEquals(500, response1.getCode());
Assert.assertEquals("Boom", entity1);
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testNoServiceHandler() throws Exception {
+ log.debug("start: {}", name.getMethodName());
final InetSocketAddress serverEndpoint = server.start();
client.start();
@@ -1736,10 +1796,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull(response1);
Assert.assertEquals(404, response1.getCode());
Assert.assertEquals("Resource not found", entity1);
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testResponseNoContent() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1774,10 +1836,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull(response1);
Assert.assertEquals(204, response1.getCode());
Assert.assertNull(result.getBody());
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testAbsentHostHeader() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1817,10 +1881,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull(response2);
Assert.assertEquals(400, response2.getCode());
Assert.assertEquals("Host header is absent", result2.getBody());
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testMessageWithTrailers() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1879,10 +1945,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
final String digest = TextUtils.toHexString(entityConsumer.getDigest());
Assert.assertEquals("MD5", map.get("digest-algo"));
Assert.assertEquals(digest, map.get("digest"));
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testProtocolException() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/boom", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1959,10 +2027,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull(response1);
Assert.assertEquals(HttpStatus.SC_BAD_REQUEST, response1.getCode());
Assert.assertEquals("Boom!!!", entity1);
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testHeaderTooLarge() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -1992,10 +2062,12 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull(response1);
Assert.assertEquals(431, response1.getCode());
Assert.assertEquals("Maximum line length limit exceeded", result1.getBody());
+ log.debug("end: {}", name.getMethodName());
}
@Test
public void testHeaderTooLargePost() throws Exception {
+ log.debug("start: {}", name.getMethodName());
server.register("/hello", new Supplier<AsyncServerExchangeHandler>() {
@Override
@@ -2032,6 +2104,7 @@ public class Http1IntegrationTest extends InternalHttp1ServerTestBase {
Assert.assertNotNull(response1);
Assert.assertEquals(431, response1.getCode());
Assert.assertEquals("Maximum line length limit exceeded", result1.getBody());
+ log.debug("end: {}", name.getMethodName());
}
}
diff --git a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/InternalHttp1ServerTestBase.java b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/InternalHttp1ServerTestBase.java
index b1fd93be0..4ae51fc2c 100644
--- a/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/InternalHttp1ServerTestBase.java
+++ b/httpcore5-testing/src/test/java/org/apache/hc/core5/testing/nio/InternalHttp1ServerTestBase.java
@@ -33,6 +33,7 @@ import org.apache.hc.core5.testing.SSLTestContexts;
import org.apache.hc.core5.util.TimeValue;
import org.junit.Rule;
import org.junit.rules.ExternalResource;
+import org.junit.rules.TestName;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -52,12 +53,15 @@ public abstract class InternalHttp1ServerTestBase {
protected Http1TestServer server;
+ @Rule(order = Integer.MIN_VALUE)
+ public TestName name = new TestName();
+
@Rule
public ExternalResource serverResource = new ExternalResource() {
@Override
protected void before() throws Throwable {
- log.debug("Starting up test server");
+ log.debug("Starting up test server: {}", name.getMethodName());
server = new Http1TestServer(
IOReactorConfig.DEFAULT,
scheme == URIScheme.HTTPS ? SSLTestContexts.createServerSSLContext() : null, null, null);
@@ -65,7 +69,7 @@ public abstract class InternalHttp1ServerTestBase {
@Override
protected void after() {
- log.debug("Shutting down test server");
+ log.debug("Shutting down test server: {}", name.getMethodName());
if (server != null) {
server.shutdown(TimeValue.ofSeconds(5));
}
diff --git a/httpcore5-testing/src/test/resources/log4j2.xml b/httpcore5-testing/src/test/resources/log4j2.xml
index 89ecc3750..a33b5e485 100644
--- a/httpcore5-testing/src/test/resources/log4j2.xml
+++ b/httpcore5-testing/src/test/resources/log4j2.xml
@@ -25,6 +25,12 @@
<Root level="fatal">
<AppenderRef ref="STDOUT" />
</Root>
- <Logger name="org.apache.hc.core5.testing" level="warn"/>
+ <Logger name="org.apache.hc.core5.testing" level="debug"/>
+ <Logger name="org.apache.hc.core5.reactor" level="warn"/>
+ <Logger name="org.apache.hc.core5.http.headers" level="debug"/>
+ <Logger name="org.apache.hc.core5.http.wire" level="debug"/>
+<!-- <Logger name="org.apache.hc.core5.http2.frame" level="debug"/>-->
+<!-- <Logger name="org.apache.hc.core5.http2.frame.payload" level="debug"/>-->
+<!-- <Logger name="org.apache.hc.core5.http2.flow" level="debug"/>-->
</Loggers>
</Configuration>
\ No newline at end of file