Issue #6728 - QUIC and HTTP/3

- Trying to replicate test failures.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2021-11-08 22:31:27 +01:00
parent 51dc1046c0
commit 2a761c35eb
1 changed files with 25 additions and 40 deletions

View File

@ -44,8 +44,6 @@ import org.eclipse.jetty.io.ArrayByteBufferPool;
import org.eclipse.jetty.io.ByteBufferPool;
import org.eclipse.jetty.io.LeakTrackingByteBufferPool;
import org.eclipse.jetty.io.MappedByteBufferPool;
import org.eclipse.jetty.logging.JettyLevel;
import org.eclipse.jetty.logging.JettyLogger;
import org.eclipse.jetty.server.Connector;
import org.eclipse.jetty.server.Server;
import org.eclipse.jetty.server.ServerConnector;
@ -82,14 +80,8 @@ public class HttpClientLoadTest extends AbstractTest<HttpClientLoadTest.LoadTran
@ArgumentsSource(TransportProvider.class)
public void testIterative(Transport transport) throws Exception
{
// JettyLogger logger = (JettyLogger)LoggerFactory.getLogger("org.eclipse.jetty");
// logger.setLevel(JettyLevel.DEBUG);
JettyLogger h3Logger = (JettyLogger)LoggerFactory.getLogger("org.eclipse.jetty.http3");
h3Logger.setLevel(JettyLevel.DEBUG);
JettyLogger quicLogger = (JettyLogger)LoggerFactory.getLogger("org.eclipse.jetty.quic");
quicLogger.setLevel(JettyLevel.DEBUG);
try
{
Assumptions.assumeTrue(transport == Transport.H3);
init(transport);
scenario.start(new LoadHandler(), client ->
{
@ -118,13 +110,6 @@ public class HttpClientLoadTest extends AbstractTest<HttpClientLoadTest.LoadTran
assertLeaks();
}
finally
{
// logger.setLevel(JettyLevel.INFO);
h3Logger.setLevel(JettyLevel.INFO);
quicLogger.setLevel(JettyLevel.INFO);
}
}
@ParameterizedTest
@ArgumentsSource(TransportProvider.class)