From: Edwin L. Punzalan Date: Sat, 25 Feb 2006 00:41:42 +0000 (+0000) Subject: PR: MRM-59 X-Git-Tag: archiva-0.9-alpha-1~907 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3e17559c0a8e4a8ee6d673d55b06c4c6907e7195;p=archiva.git PR: MRM-59 Revised the unit test to use its own repository cache using the appropriate repository. Btw, this shows that the cache layout reflect the proxy configuration layout. This is needed so that checksums on 1.x repositories are located in the same directory as the checksumed file. git-svn-id: https://svn.apache.org/repos/asf/maven/repository-manager/trunk@380875 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java b/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java index ae9caf770..67e5b32b3 100644 --- a/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java +++ b/maven-repository-proxy/src/test/java/org/apache/maven/repository/proxy/LegacyProxyManagerTest.java @@ -40,7 +40,7 @@ public class LegacyProxyManagerTest super.setUp(); ProxyManagerFactory factory = (ProxyManagerFactory) container.lookup( ProxyManagerFactory.ROLE ); - proxy = factory.getProxyManager( "default", getTestConfiguration() ); + proxy = factory.getProxyManager( "legacy", getTestConfiguration() ); } public void testExceptions() @@ -135,7 +135,7 @@ public class LegacyProxyManagerTest { ProxyConfiguration config = (ProxyConfiguration) container.lookup( ProxyConfiguration.ROLE ); - config.setRepositoryCachePath( "target/proxy-cache" ); + config.setRepositoryCachePath( "target/m1-proxy-cache" ); ArtifactRepositoryLayout layout = new LegacyRepositoryLayout();