Author: markt Date: Tue Sep 20 16:46:17 2011 New Revision: 1173241 URL: http://svn.apache.org/viewvc?rev=1173241&view=rev Log: 5s is plenty when things are working and 10s is too long when they aren't.
Modified: tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java Modified: tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java?rev=1173241&r1=1173240&r2=1173241&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java (original) +++ tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java Tue Sep 20 16:46:17 2011 @@ -156,14 +156,13 @@ public class TestCometProcessor extends // Wait for the write thread to stop int count = 0; - while (writeThread.isAlive() && count < 100) { + while (writeThread.isAlive() && count < 50) { Thread.sleep(100); count ++; } // Wait for the read thread to stop - count = 0; - while (readThread.isAlive() && count < 100) { + while (readThread.isAlive() && count < 50) { Thread.sleep(100); count ++; } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org