commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r780247 - /commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericObjectPool.java
Date Sat, 30 May 2009 11:43:45 GMT
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());
             }



Mime
View raw message