You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by km...@apache.org on 2007/10/22 18:19:12 UTC
svn commit: r587138 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InListMultiProbeTest.java
Author: kmarsden
Date: Mon Oct 22 09:19:11 2007
New Revision: 587138
URL: http://svn.apache.org/viewvc?rev=587138&view=rev
Log:
DERBY-3140 InListMultiProbeTest creates 30000 DataRow objects that do not get released during suites.All run
Null out foreignIdToRowsMap in teardown()
Modified:
db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InListMultiProbeTest.java
Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InListMultiProbeTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InListMultiProbeTest.java?rev=587138&r1=587137&r2=587138&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InListMultiProbeTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InListMultiProbeTest.java Mon Oct 22 09:19:11 2007
@@ -141,7 +141,18 @@
{
super(name);
}
-
+
+ /*
+ * Null out foreignIdToRowsMap so it doesn't hang around after test
+ * completes
+ * @see org.apache.derbyTesting.junit.BaseJDBCTestCase#tearDown()
+ */
+ protected void tearDown() throws Exception
+ {
+ foreignIdToRowsMap = null;
+ super.tearDown();
+ }
+
/**
* Return a suite that runs the relevant multi-probing tests.
*/