From 2a82d13c4dbe1ef260f860ec602a066a78435484 Mon Sep 17 00:00:00 2001 From: James William Dumay Date: Wed, 28 May 2008 12:28:45 +0000 Subject: [PATCH] Need to clean the test repository after every test... git-svn-id: https://svn.apache.org/repos/asf/archiva/branches@660920 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva/webdav/AbstractRepositoryServletTestCase.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/moved-repo-servlet/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/AbstractRepositoryServletTestCase.java b/moved-repo-servlet/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/AbstractRepositoryServletTestCase.java index 9910d4363..e2af9da72 100644 --- a/moved-repo-servlet/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/AbstractRepositoryServletTestCase.java +++ b/moved-repo-servlet/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/maven/archiva/webdav/AbstractRepositoryServletTestCase.java @@ -193,6 +193,11 @@ public abstract class AbstractRepositoryServletTestCase sr.shutDown(); } + if (repoRootInternal.exists()) + { + FileUtils.deleteDirectory(repoRootInternal); + } + super.tearDown(); } -- 2.39.5