From 5e5247cdf62b80e7388fd4098609f69d8ae017a1 Mon Sep 17 00:00:00 2001 From: fhanik Date: Tue, 2 Dec 2008 17:11:38 +0000 Subject: [PATCH] remove some not needed test, add compile version git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@722528 13f79535-47bb-0310-9956-ffa450edef68 --- modules/jdbc-pool/build.xml | 2 + .../tomcat/jdbc/test/CheckOutThreadTest.java | 90 ---------------------- 2 files changed, 2 insertions(+), 90 deletions(-) diff --git a/modules/jdbc-pool/build.xml b/modules/jdbc-pool/build.xml index 6edb62ed2..6bd326686 100644 --- a/modules/jdbc-pool/build.xml +++ b/modules/jdbc-pool/build.xml @@ -91,6 +91,7 @@ debug="${compile.debug}" deprecation="${compile.deprecation}" source="${compile.source}" + target="${compile.source}" optimize="${compile.optimize}"> @@ -131,6 +132,7 @@ debug="${compile.debug}" deprecation="${compile.deprecation}" source="${compile.source}" + target="${compile.source}" optimize="${compile.optimize}"> diff --git a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/CheckOutThreadTest.java b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/CheckOutThreadTest.java index 93ab3e9a6..8b35c4e39 100644 --- a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/CheckOutThreadTest.java +++ b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/CheckOutThreadTest.java @@ -227,96 +227,6 @@ public class CheckOutThreadTest extends DefaultTestCase { tearDown(); } - public void testDBCPThreads10Connections10WithQuery() throws Exception { - init(); - this.datasource.getPoolProperties().setMaxActive(10); - this.datasource.getPoolProperties().setTestOnBorrow(false); - this.threadcount = 10; - this.transferProperties(); - this.tDatasource.getConnection().close(); - latch = new CountDownLatch(threadcount); - long start = System.currentTimeMillis(); - for (int i=0; i