You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2025/06/01 22:19:07 UTC
(maven-wagon) branch master updated: Delete ignored test (#164)
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-wagon.git
The following commit(s) were added to refs/heads/master by this push:
new 94783ca2 Delete ignored test (#164)
94783ca2 is described below
commit 94783ca235af3c8cc023dec7fc82e5b1deb07035
Author: Elliotte Rusty Harold <el...@users.noreply.github.com>
AuthorDate: Sun Jun 1 22:19:02 2025 +0000
Delete ignored test (#164)
---
.../http/AbstractHttpClientWagonTest.java | 25 ----------------------
1 file changed, 25 deletions(-)
diff --git a/wagon-providers/wagon-http/src/test/java/org/apache/maven/wagon/providers/http/AbstractHttpClientWagonTest.java b/wagon-providers/wagon-http/src/test/java/org/apache/maven/wagon/providers/http/AbstractHttpClientWagonTest.java
index 6ae9f3b1..efbae103 100644
--- a/wagon-providers/wagon-http/src/test/java/org/apache/maven/wagon/providers/http/AbstractHttpClientWagonTest.java
+++ b/wagon-providers/wagon-http/src/test/java/org/apache/maven/wagon/providers/http/AbstractHttpClientWagonTest.java
@@ -38,11 +38,6 @@
import org.apache.http.impl.client.DefaultHttpRequestRetryHandler;
import org.apache.http.impl.execchain.RedirectExec;
import org.apache.http.impl.execchain.RetryExec;
-import org.apache.maven.wagon.InputData;
-import org.apache.maven.wagon.repository.Repository;
-import org.apache.maven.wagon.resource.Resource;
-import org.apache.maven.wagon.shared.http.AbstractHttpClientWagon;
-import org.junit.Ignore;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.instanceOf;
@@ -54,26 +49,6 @@
import static org.junit.Assert.fail;
public class AbstractHttpClientWagonTest {
- @Ignore("This test is validating nothing and require internet connection which we should avoid so ignore it")
- public void test() throws Exception {
- AbstractHttpClientWagon wagon = new AbstractHttpClientWagon() {};
-
- Repository repository = new Repository("central", "http://repo.maven.apache.org/maven2");
-
- wagon.connect(repository);
-
- Resource resource = new Resource();
-
- resource.setName("junit/junit/maven-metadata.xml");
-
- InputData inputData = new InputData();
-
- inputData.setResource(resource);
-
- wagon.fillInputData(inputData);
-
- wagon.disconnect();
- }
@Test
public void retryableConfigurationDefaultTest() throws Exception {