From: markt Date: Wed, 9 Mar 2011 18:30:07 +0000 (+0000) Subject: Try and make test pass more reliably. This works an 8-core Windows box and a 1-core... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=75517537f0497096786a61ec8765b304c34dc06d;p=tomcat7.0 Try and make test pass more reliably. This works an 8-core Windows box and a 1-core Linux VM git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1079917 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/catalina/connector/TestMaxConnections.java b/test/org/apache/catalina/connector/TestMaxConnections.java index 15963ce7c..36b60f834 100644 --- a/test/org/apache/catalina/connector/TestMaxConnections.java +++ b/test/org/apache/catalina/connector/TestMaxConnections.java @@ -130,7 +130,7 @@ public class TestMaxConnections extends TomcatBaseTest{ @Override protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { try { - Thread.sleep(TestMaxConnections.soTimeout/2); + Thread.sleep(TestMaxConnections.soTimeout*4/5); }catch (InterruptedException x) { }