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 12:18:49 UTC
(maven-wagon) 01/01: Delete ignored test
This is an automated email from the ASF dual-hosted git repository.
elharo pushed a commit to branch ignore
in repository https://gitbox.apache.org/repos/asf/maven-wagon.git
commit 913314af24a63c53762d8e0353dd96efef63634f
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun Jun 1 08:18:41 2025 -0400
Delete ignored test
---
.../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 {