tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1202828 - /tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java
Date Wed, 16 Nov 2011 18:39:07 GMT
Author: markt
Date: Wed Nov 16 18:39:07 2011
New Revision: 1202828

URL: http://svn.apache.org/viewvc?rev=1202828&view=rev
Log:
Increase time between PINGs in an attempt to reduce false test failures

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=1202828&r1=1202827&r2=1202828&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java (original)
+++ tomcat/trunk/test/org/apache/catalina/comet/TestCometProcessor.java Wed Nov 16 18:39:07
2011
@@ -394,7 +394,7 @@ public class TestCometProcessor extends 
                     os.write("4\r\n".getBytes());
                     os.write("PING\r\n".getBytes());
                     os.flush();
-                    Thread.sleep(1000);
+                    Thread.sleep(2000);
                 }
                 os.write("0\r\n".getBytes());
                 os.write("\r\n".getBytes());



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message