db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r454325 - in /db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi: SURQueryMixTest.java SURTest.java UpdatableResultSetTest.java
Date Mon, 09 Oct 2006 10:02:46 GMT
Author: kahatlen
Date: Mon Oct  9 03:02:45 2006
New Revision: 454325

URL: http://svn.apache.org/viewvc?view=rev&rev=454325
Log:
DERBY-1910: OutOfMemoryError happens when jdbcapi/_Suite.junit was
executed as DerbyNetClient (in jvm1.4.2)

Merged fix from trunk.

Modified:
    db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURQueryMixTest.java
    db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
    db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/UpdatableResultSetTest.java

Modified: db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURQueryMixTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURQueryMixTest.java?view=diff&rev=454325&r1=454324&r2=454325
==============================================================================
--- db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURQueryMixTest.java
(original)
+++ db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURQueryMixTest.java
Mon Oct  9 03:02:45 2006
@@ -558,6 +558,11 @@
         }
         return mainSuite;
     }
+
+    protected void tearDown() throws Exception {
+        super.tearDown();
+        con = null;
+    }
     
   
 }

Modified: db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java?view=diff&rev=454325&r1=454324&r2=454325
==============================================================================
--- db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
(original)
+++ db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/SURTest.java
Mon Oct  9 03:02:45 2006
@@ -1605,4 +1605,9 @@
         
         return mainSuite;
     }
+
+    protected void tearDown() throws Exception {
+        super.tearDown();
+        con = null;
+    }
 }

Modified: db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/UpdatableResultSetTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/UpdatableResultSetTest.java?view=diff&rev=454325&r1=454324&r2=454325
==============================================================================
--- db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/UpdatableResultSetTest.java
(original)
+++ db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/UpdatableResultSetTest.java
Mon Oct  9 03:02:45 2006
@@ -72,9 +72,11 @@
         stmt.close();
     }
 
-    protected void tearDown() throws SQLException {
+    protected void tearDown() throws Exception {
         conn.rollback();
         conn.close();
+        super.tearDown();
+        conn = null;
     }
     
     /** Create a test suite with all tests in this class. */



Mime
View raw message