back to forkMode once for webdav module : faster build

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136035 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-06-15 13:37:52 +00:00
parent 26665cb8ea
commit aefe91d87c
2 changed files with 7 additions and 4 deletions

View File

@ -30,7 +30,7 @@
<name>Archiva Web :: WebDAV</name>
<properties>
<webdav.forkMode>always</webdav.forkMode>
<webdav.forkMode>once</webdav.forkMode>
</properties>
<dependencies>

View File

@ -23,11 +23,12 @@ import com.meterware.httpunit.GetMethodWebRequest;
import com.meterware.httpunit.HttpUnitOptions;
import com.meterware.httpunit.WebRequest;
import com.meterware.httpunit.WebResponse;
import org.apache.maven.archiva.configuration.ProxyConnectorConfiguration;
import org.apache.maven.archiva.policies.ReleasesPolicy;
import org.junit.Test;
import java.io.File;
import java.util.ArrayList;
/**
* RepositoryServlet Tests, Proxied, Get of Release Artifacts, with varying policy settings.
@ -175,6 +176,8 @@ public class RepositoryServletProxiedReleasePolicyTest
managedFile.setLastModified( remoteFile.lastModified() + deltaManagedToRemoteTimestamp );
}
archivaConfiguration.getConfiguration().setProxyConnectors( new ArrayList<ProxyConnectorConfiguration>() );
setupReleaseConnector( REPOID_INTERNAL, remoteCentral, releasePolicy );
saveConfiguration();