db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r476195 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ConcurrencyTest.java
Date Fri, 17 Nov 2006 16:25:47 GMT
Author: djd
Date: Fri Nov 17 08:25:47 2006
New Revision: 476195

URL: http://svn.apache.org/viewvc?view=rev&rev=476195
Log:
Ensure ConcurrencyTest closes the second connection it opens in some fixtures.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ConcurrencyTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ConcurrencyTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ConcurrencyTest.java?view=diff&rev=476195&r1=476194&r2=476195
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ConcurrencyTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ConcurrencyTest.java
Fri Nov 17 08:25:47 2006
@@ -543,6 +543,7 @@
                     rs.getInt(3) + ")");
             
         }
+        con2.close();
     }
     
     /**
@@ -597,6 +598,7 @@
                     rs.getInt(3) + ")");
             
         }
+        con2.close();
     }
     
     /**
@@ -651,6 +653,7 @@
                     rs.getInt(3) + ")");
             
         }
+        con2.close();
     }
     
     /**
@@ -693,6 +696,7 @@
         } finally {
             con2.rollback();
         }
+        con2.close();
     }
     
     /**
@@ -833,6 +837,7 @@
                     rs.getInt(2) + "," +
                     rs.getInt(3) + ")");
         }
+        con2.close();
     }
     
     // By providing a static suite(), you can customize which tests to run.



Mime
View raw message