mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-01 19:39:21 +00:00
Fixes #1243 - ProxyServletFailureTest.testServerException() results in ServletException.
This commit is contained in:
parent
fb8ecf9970
commit
4c8441a0df
@ -44,6 +44,7 @@ import org.eclipse.jetty.client.api.Request;
|
|||||||
import org.eclipse.jetty.client.api.Response;
|
import org.eclipse.jetty.client.api.Response;
|
||||||
import org.eclipse.jetty.client.util.BytesContentProvider;
|
import org.eclipse.jetty.client.util.BytesContentProvider;
|
||||||
import org.eclipse.jetty.client.util.DeferredContentProvider;
|
import org.eclipse.jetty.client.util.DeferredContentProvider;
|
||||||
|
import org.eclipse.jetty.server.HttpChannel;
|
||||||
import org.eclipse.jetty.server.HttpConnectionFactory;
|
import org.eclipse.jetty.server.HttpConnectionFactory;
|
||||||
import org.eclipse.jetty.server.Server;
|
import org.eclipse.jetty.server.Server;
|
||||||
import org.eclipse.jetty.server.ServerConnector;
|
import org.eclipse.jetty.server.ServerConnector;
|
||||||
@ -397,7 +398,7 @@ public class ProxyServletFailureTest
|
|||||||
@Test
|
@Test
|
||||||
public void testServerException() throws Exception
|
public void testServerException() throws Exception
|
||||||
{
|
{
|
||||||
try (StacklessLogging stackless = new StacklessLogging(ServletHandler.class))
|
try (StacklessLogging stackless = new StacklessLogging(HttpChannel.class))
|
||||||
{
|
{
|
||||||
prepareProxy();
|
prepareProxy();
|
||||||
prepareServer(new HttpServlet()
|
prepareServer(new HttpServlet()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user