diff --git a/jetty-server/src/test/java/org/eclipse/jetty/server/AbstractConnectorTest.java b/jetty-server/src/test/java/org/eclipse/jetty/server/AbstractConnectorTest.java index bc782a162b9..13625f6b438 100644 --- a/jetty-server/src/test/java/org/eclipse/jetty/server/AbstractConnectorTest.java +++ b/jetty-server/src/test/java/org/eclipse/jetty/server/AbstractConnectorTest.java @@ -91,8 +91,8 @@ public class AbstractConnectorTest public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { + try{Thread.sleep(1);} catch(Exception e){} baseRequest.setHandled(true); - PrintWriter out = response.getWriter(); out.write("Server response\n"); out.close();