jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1381269 - /jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java
Date Wed, 05 Sep 2012 17:52:09 GMT
Author: andy
Date: Wed Sep  5 17:52:09 2012
New Revision: 1381269

URL: http://svn.apache.org/viewvc?rev=1381269&view=rev
Log:
Flush StoreConnection before a test.

Modified:
    jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java

Modified: jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java?rev=1381269&r1=1381268&r2=1381269&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java
(original)
+++ jena/trunk/jena-tdb/src/test/java/com/hp/hpl/jena/tdb/transaction/TestTransactionTDB.java
Wed Sep  5 17:52:09 2012
@@ -28,7 +28,9 @@ import com.hp.hpl.jena.query.Dataset ;
 import com.hp.hpl.jena.query.ReadWrite ;
 import com.hp.hpl.jena.sparql.sse.SSE ;
 import com.hp.hpl.jena.tdb.ConfigTest ;
+import com.hp.hpl.jena.tdb.StoreConnection ;
 import com.hp.hpl.jena.tdb.TDBFactory ;
+import com.hp.hpl.jena.tdb.base.file.Location ;
 import com.hp.hpl.jena.tdb.migrate.AbstractTestTransaction ;
 
 public class TestTransactionTDB extends AbstractTestTransaction
@@ -38,6 +40,7 @@ public class TestTransactionTDB extends 
     @Before public void before()
     {
         FileOps.clearDirectory(DIR) ; 
+        StoreConnection.release(new Location(DIR)) ;
     }
     
     @After public void after()



Mime
View raw message