suppress stack

Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
Greg Wilkins 2022-08-12 08:31:28 +10:00
parent 52f1c91cca
commit fac047905a
1 changed files with 3 additions and 1 deletions

View File

@ -22,6 +22,7 @@ import java.util.function.Function;
import org.eclipse.jetty.http.HttpStatus;
import org.eclipse.jetty.http.HttpTester;
import org.eclipse.jetty.logging.StacklessLogging;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
import org.eclipse.jetty.util.Callback;
import org.eclipse.jetty.util.ssl.SslContextFactory;
@ -218,7 +219,8 @@ public class OptionalSslConnectionTest
server.setHandler(new EmptyServerHandler());
server.start();
try (Socket socket = new Socket(server.getURI().getHost(), server.getURI().getPort()))
try (Socket socket = new Socket(server.getURI().getHost(), server.getURI().getPort());
StacklessLogging ignored = new StacklessLogging(DetectorConnectionFactory.class))
{
OutputStream sslOutput = socket.getOutputStream();
String request =