From: markt Date: Thu, 30 Jul 2009 19:40:54 +0000 (+0000) Subject: Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47583 X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=630ae7c593f58b13d530032db9a814bd4398fc00;p=tomcat7.0 Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=47583 Fix timing related failures. Patch suggested by sebb git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@799427 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestConcurrency.java b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestConcurrency.java index a39f3ee66..23c8990c1 100644 --- a/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestConcurrency.java +++ b/modules/jdbc-pool/test/org/apache/tomcat/jdbc/test/TestConcurrency.java @@ -36,8 +36,8 @@ public class TestConcurrency extends DefaultTestCase { @Override protected void tearDown() throws Exception { - Driver.reset(); ds.close(true); + Driver.reset(); super.tearDown(); } @@ -68,7 +68,7 @@ public class TestConcurrency extends DefaultTestCase { } try { while (loopcount.get()