mirror of https://github.com/apache/archiva.git
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
This commit is contained in:
parent
5f6f2e9833
commit
b137e9a99c
|
@ -187,8 +187,9 @@ public abstract class AbstractRepositoryPurgeTest
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String prepareTestRepos()
|
protected String prepareTestRepos()
|
||||||
throws IOException
|
throws Exception
|
||||||
{
|
{
|
||||||
|
removeMavenIndexes();
|
||||||
File testDir = getTestRepoRoot();
|
File testDir = getTestRepoRoot();
|
||||||
FileUtils.deleteDirectory( testDir );
|
FileUtils.deleteDirectory( testDir );
|
||||||
FileUtils.copyDirectory( new File( "target/test-classes/" + TEST_REPO_ID ), testDir );
|
FileUtils.copyDirectory( new File( "target/test-classes/" + TEST_REPO_ID ), testDir );
|
||||||
|
|
Loading…
Reference in New Issue