From: markt Date: Fri, 7 Jan 2011 13:26:33 +0000 (+0000) Subject: Put sleep in right place for test to pass. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=217195a3a8cd3fd8d8fec5c89fec72e97a30819d;p=tomcat7.0 Put sleep in right place for test to pass. With acceptCount of 1 need a short delay else connections get rejected as Tomcat doesn't process incoming connections fast enough (on 8-core machine) git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1056310 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/catalina/connector/TestMaxConnections.java b/test/org/apache/catalina/connector/TestMaxConnections.java index 7e2ce84c9..135b16519 100644 --- a/test/org/apache/catalina/connector/TestMaxConnections.java +++ b/test/org/apache/catalina/connector/TestMaxConnections.java @@ -47,6 +47,7 @@ public class TestMaxConnections extends TomcatBaseTest{ } for (int i=0; i