improved test timing

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2609 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2010-12-16 10:34:50 +00:00
parent 2b43ae931c
commit b8bb6c8ccb
1 changed files with 1 additions and 1 deletions

View File

@ -91,8 +91,8 @@ public class AbstractConnectorTest
public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response)
throws IOException, ServletException throws IOException, ServletException
{ {
try{Thread.sleep(1);} catch(Exception e){}
baseRequest.setHandled(true); baseRequest.setHandled(true);
PrintWriter out = response.getWriter(); PrintWriter out = response.getWriter();
out.write("Server response\n"); out.write("Server response\n");
out.close(); out.close();