From 48398db0e4c91484166a3012c17d10a875a6ccb8 Mon Sep 17 00:00:00 2001 From: Oleg Gusakov Date: Thu, 12 Feb 2009 23:00:22 +0000 Subject: [PATCH] disabled maven-mercury test to move it to Mercury ITs git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@743919 13f79535-47bb-0310-9956-ffa450edef68 --- .../mercury/MavenDependencyProcessorTest.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/maven-mercury/src/test/java/org/apache/maven/mercury/MavenDependencyProcessorTest.java b/maven-mercury/src/test/java/org/apache/maven/mercury/MavenDependencyProcessorTest.java index 7e2720bfc4..d1bbcd96fd 100644 --- a/maven-mercury/src/test/java/org/apache/maven/mercury/MavenDependencyProcessorTest.java +++ b/maven-mercury/src/test/java/org/apache/maven/mercury/MavenDependencyProcessorTest.java @@ -18,7 +18,7 @@ import org.apache.maven.mercury.repository.api.Repository; import org.apache.maven.mercury.repository.api.RepositoryReader; import org.apache.maven.mercury.repository.local.m2.LocalRepositoryM2; import org.apache.maven.mercury.repository.remote.m2.RemoteRepositoryM2; -import org.apache.maven.mercury.spi.http.server.HttpTestServer; +//import org.apache.maven.mercury.spi.http.server.HttpTestServer; import org.apache.maven.mercury.transport.api.Server; import org.apache.maven.mercury.util.FileUtil; import org.junit.After; @@ -48,7 +48,7 @@ public class MavenDependencyProcessorTest static final String _remoteRepoUrlSufix = "/maven2"; - HttpTestServer _jetty; +// HttpTestServer _jetty; int _port; @@ -70,10 +70,10 @@ public class MavenDependencyProcessorTest _localRepo = new LocalRepositoryM2( "localRepo", _localRepoFile, dp ); _remoteRepoFile = new File( _remoteRepoDir ); - _jetty = new HttpTestServer( _remoteRepoFile, _remoteRepoUrlSufix ); +// _jetty = new HttpTestServer( _remoteRepoFile, _remoteRepoUrlSufix ); // FIXME 2009-02-12 Oleg: disabling not to mess with jetty server. Will move to Mercury ITs // _jetty.start(); - _port = _jetty.getPort(); +// _port = _jetty.getPort(); Server server = new Server( "testRemote", new URL(_remoteRepoUrlPrefix + _port + _remoteRepoUrlSufix) ); _remoteRepo = new RemoteRepositoryM2( server, dp ); @@ -93,14 +93,14 @@ public class MavenDependencyProcessorTest public void tearDown() throws Exception { - if( _jetty != null ) - { +// if( _jetty != null ) +// { // FIXME 2009-02-12 Oleg: disabling not to mess with jetty server. Will move to Mercury ITs // _jetty.stop(); // _jetty.destroy(); - - System.out.println( "Jetty on :" + _port + " destroyed\n<========\n\n" ); - } +// +// System.out.println( "Jetty on :" + _port + " destroyed\n<========\n\n" ); +// } } @Test