db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r587138 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/InListMultiProbeTest.java
Date Mon, 22 Oct 2007 16:19:12 GMT
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.
      */



Mime
View raw message