jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r927314 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/DataStoreAPITest.java
Date Thu, 25 Mar 2010 09:22:35 GMT
Author: thomasm
Date: Thu Mar 25 09:22:33 2010
New Revision: 927314

URL: http://svn.apache.org/viewvc?rev=927314&view=rev
Log:
JCR-2583 Occasional testDataStoreGarbageCollection test failures

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/DataStoreAPITest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/DataStoreAPITest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/DataStoreAPITest.java?rev=927314&r1=927313&r2=927314&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/DataStoreAPITest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/data/DataStoreAPITest.java
Thu Mar 25 09:22:33 2010
@@ -17,6 +17,7 @@
 package org.apache.jackrabbit.core.data;
 
 import java.io.File;
+import java.io.IOException;
 import java.util.Properties;
 
 import javax.jcr.RepositoryException;
@@ -66,12 +67,12 @@ public class DataStoreAPITest extends Te
         rm.stop();
     }
 
-    public void tearDown() {
+    public void tearDown() throws IOException {
         setUp();
     }
 
-    public void setUp() {
-        FileUtils.deleteQuietly(new File(TEST_DIR));
+    public void setUp() throws IOException {
+        FileUtils.deleteDirectory(new File(TEST_DIR));
     }
 
 }



Mime
View raw message