]> source.dussan.org Git - archiva.git/commitdiff
Need to clean the test repository after every test...
authorJames William Dumay <jdumay@apache.org>
Wed, 28 May 2008 12:28:45 +0000 (12:28 +0000)
committerJames William Dumay <jdumay@apache.org>
Wed, 28 May 2008 12:28:45 +0000 (12:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches@660920 13f79535-47bb-0310-9956-ffa450edef68

moved-repo-servlet/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/AbstractRepositoryServletTestCase.java

index 9910d4363c713a4ed06a2c0044f5c6cf9833abfe..e2af9da729e97c2d7a4e8d52dad3835626424417 100644 (file)
@@ -193,6 +193,11 @@ public abstract class AbstractRepositoryServletTestCase
             sr.shutDown();
         }
         
+        if (repoRootInternal.exists())
+        {
+            FileUtils.deleteDirectory(repoRootInternal);
+        }
+        
         super.tearDown();
     }