mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
- Enables tests. - Builds with eant because of very complex test management. - Skips some tests which would otherwise neeed network access. - Disables jacoco coverage which would otherwise need network access. Bug: https://bugs.gentoo.org/916262 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Part-of: https://codeberg.org/gentoo/gentoo/pulls/353 Merges: https://codeberg.org/gentoo/gentoo/pulls/353 Signed-off-by: Sam James <sam@gentoo.org>
46 lines
2.2 KiB
Diff
46 lines
2.2 KiB
Diff
<testcase classname="org.apache.ivy.plugins.resolver.MirroredURLResolverTest" name="testSolo" time="0.018">
|
|
<failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError
|
|
at org.apache.ivy.plugins.resolver.MirroredURLResolverTest.testSolo(MirroredURLResolverTest.java:79)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
</failure>
|
|
</testcase>
|
|
<testcase classname="org.apache.ivy.plugins.resolver.MirroredURLResolverTest" name="testFailover" time="0.014">
|
|
<failure type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError
|
|
at org.apache.ivy.plugins.resolver.MirroredURLResolverTest.testFailover(MirroredURLResolverTest.java:92)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
</failure>
|
|
</testcase>
|
|
|
|
--- a/test/java/org/apache/ivy/plugins/resolver/MirroredURLResolverTest.java
|
|
+++ b/test/java/org/apache/ivy/plugins/resolver/MirroredURLResolverTest.java
|
|
@@ -31,6 +31,7 @@ import org.apache.ivy.core.sort.SortEngine;
|
|
import org.junit.After;
|
|
import org.junit.Before;
|
|
import org.junit.Test;
|
|
+import org.junit.Ignore;
|
|
|
|
import static org.junit.Assert.assertNotNull;
|
|
import static org.junit.Assert.assertNull;
|
|
@@ -66,7 +67,7 @@ public class MirroredURLResolverTest {
|
|
TestHelper.cleanCache();
|
|
}
|
|
|
|
- @Test
|
|
+ @Test @Ignore
|
|
public void testSolo() throws Exception {
|
|
DependencyResolver resolver = settings.getResolver("solo");
|
|
assertNotNull(resolver);
|
|
@@ -79,7 +80,7 @@ public class MirroredURLResolverTest {
|
|
assertNotNull(rmr);
|
|
}
|
|
|
|
- @Test
|
|
+ @Test @Ignore
|
|
public void testFailover() throws Exception {
|
|
DependencyResolver resolver = settings.getResolver("failover");
|
|
assertNotNull(resolver);
|