db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r750509 - /db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/junit/DataSourceConnector.java
Date Thu, 05 Mar 2009 16:49:58 GMT
Author: kmarsden
Date: Thu Mar  5 16:49:58 2009
New Revision: 750509

URL: http://svn.apache.org/viewvc?rev=750509&view=rev
Log:
DERBY-4050 Multithreaded clob update causes growth in table that does not get reclaimed

Fix test so we don't get 
ClobReclamationTest:embeddedjunit.framework.AssertionFailedError: shutdown engine not implemened
on J2ME on 10.3



Modified:
    db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/junit/DataSourceConnector.java

Modified: db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/junit/DataSourceConnector.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/junit/DataSourceConnector.java?rev=750509&r1=750508&r2=750509&view=diff
==============================================================================
--- db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/junit/DataSourceConnector.java
(original)
+++ db/derby/code/branches/10.3/java/testing/org/apache/derbyTesting/junit/DataSourceConnector.java
Thu Mar  5 16:49:58 2009
@@ -127,7 +127,9 @@
     }
 
     public void shutEngine() throws SQLException {
-        Assert.fail("shutdown engine not implemened");
+        DataSource tmpDs = singleUseDS("shutdownDatabase", "shutdown");
+        JDBCDataSource.setBeanProperty(tmpDs, "databaseName", "");
+        tmpDs.getConnection();        
     }
     
     /**



Mime
View raw message