Author: sebb
Date: Sat Jan 16 02:32:02 2010
New Revision: 899875

URL: http://svn.apache.org/viewvc?rev=899875&view=rev
Log:
Add debug info in case test fails

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

Modified: 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
URL: 
http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java?rev=899875&r1=899874&r2=899875&view=diff
==============================================================================
--- 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
 (original)
+++ 
commons/proper/pool/trunk/src/test/org/apache/commons/pool/impl/TestGenericKeyedObjectPool.java
 Sat Jan 16 02:32:02 2010
@@ -1335,7 +1335,7 @@
         // If it passes it should be almost instant
         // Use 3000ms as the threshold - should avoid timing issues on most
         // (all? platforms)
-        assertTrue ((end-start) < 4000);
+        assertTrue ("Elapsed time: "+(end-start)+" should be less than 
4000",(end-start) < 4000);
         
     }
 


Reply via email to