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:
parent
2b43ae931c
commit
b8bb6c8ccb
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue