commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r897738 - /commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java
Date Mon, 11 Jan 2010 00:12:59 GMT
Author: sebb
Date: Mon Jan 11 00:12:58 2010
New Revision: 897738

URL: http://svn.apache.org/viewvc?rev=897738&view=rev
Log:
Use fixed startup wait time

Modified:
    commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java?rev=897738&r1=897737&r2=897738&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java (original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/TestConnectionPool.java Mon
Jan 11 00:12:58 2010
@@ -714,7 +714,7 @@
                 }
 
                 // Give all threads a chance to start and succeed
-                Thread.sleep(Math.max(100l, 3 * maxWait));
+                Thread.sleep(300L);
 
                 // Stop threads
                 for (int i = 0; i < pts.length; i++) {



Mime
View raw message