commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r895746 - /commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java
Date Mon, 04 Jan 2010 18:52:34 GMT
Author: sebb
Date: Mon Jan  4 18:52:32 2010
New Revision: 895746

URL: http://svn.apache.org/viewvc?rev=895746&view=rev
Log:
Split multiple thread tests into separate test cases

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

Modified: commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java?rev=895746&r1=895745&r2=895746&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java
(original)
+++ commons/proper/dbcp/trunk/src/test/org/apache/commons/dbcp/datasources/TestSharedPoolDataSource.java
Mon Jan  4 18:52:32 2010
@@ -366,8 +366,11 @@
         }
     }
 
-    public void testMultipleThreads() throws Exception {
+    public void testMultipleThreads1() throws Exception {
         assertTrue(multipleThreads(1));
+    }
+
+    public void testMultipleThreads2() throws Exception {
         assertTrue(!multipleThreads(2 * (int)(getMaxWait())));
     }
 



Mime
View raw message