You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2009/05/30 13:43:45 UTC

svn commit: r780247 - /commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java

Author: sebb
Date: Sat May 30 11:43:45 2009
New Revision: 780247

URL: http://svn.apache.org/viewvc?rev=780247&view=rev
Log:
Increase thread startup delay from 10 to 20ms to avoid test failures due to timing issue.

Modified:
    commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java

Modified: commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java?rev=780247&r1=780246&r2=780247&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java (original)
+++ commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java Sat May 30 11:43:45 2009
@@ -1417,7 +1417,7 @@
             t.start();
             // Short delay to ensure threads start in correct order
             try {
-                Thread.sleep(10);
+                Thread.sleep(20);
             } catch (InterruptedException e) {
                 fail(e.toString());
             }