commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1563926 - /commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
Date Mon, 03 Feb 2014 14:44:53 GMT
Author: markt
Date: Mon Feb  3 14:44:53 2014
New Revision: 1563926

URL: http://svn.apache.org/r1563926
Log:
Work-around test failure with IBM JVM

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

Modified: commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java?rev=1563926&r1=1563925&r2=1563926&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
(original)
+++ commons/proper/dbcp/trunk/src/test/java/org/apache/commons/dbcp2/TestConnectionPool.java
Mon Feb  3 14:44:53 2014
@@ -545,7 +545,7 @@ public abstract class TestConnectionPool
                     // ignored
                 }
             }
-            if(threads[i].failed()) {
+            if(threads[i] != null && threads[i].failed()) {
                 fail();
             }
         }



Mime
View raw message