From b137e9a99cf671ea58bd16751446f2d2061f1b14 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 22 Nov 2011 12:40:42 +0000 Subject: [PATCH] an other try to prevent windauze file leak, I hope the last one :-) git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1204957 13f79535-47bb-0310-9956-ffa450edef68 --- .../consumers/core/repository/AbstractRepositoryPurgeTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java index 6cacc59be..dfda5f5cc 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/java/org/apache/archiva/consumers/core/repository/AbstractRepositoryPurgeTest.java @@ -187,8 +187,9 @@ public abstract class AbstractRepositoryPurgeTest } protected String prepareTestRepos() - throws IOException + throws Exception { + removeMavenIndexes(); File testDir = getTestRepoRoot(); FileUtils.deleteDirectory( testDir ); FileUtils.copyDirectory( new File( "target/test-classes/" + TEST_REPO_ID ), testDir );