Disabling test that modifies java.net.URL class

This commit is contained in:
Joakim Erdfelt 2017-04-05 10:48:18 -07:00
parent 71892ffa3a
commit 59bd12edcf
2 changed files with 2 additions and 3 deletions

View File

@ -38,11 +38,8 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<configuration> <configuration>
<argLine>-XX:-OmitStackTraceInFastThrow</argLine>
<forkCount>1</forkCount> <forkCount>1</forkCount>
<reuseForks>false</reuseForks> <reuseForks>false</reuseForks>
<parallel>classesAndMethods</parallel>
<threadCount>4</threadCount>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>

View File

@ -25,7 +25,9 @@ import java.util.Map;
import org.junit.After; import org.junit.After;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
@Ignore("Not suitable for testing on CI (as URL object is modified)")
public class WebAppClassLoaderUrlStreamTest extends WebAppClassLoaderTest public class WebAppClassLoaderUrlStreamTest extends WebAppClassLoaderTest
{ {
public static class URLHandlers implements URLStreamHandlerFactory public static class URLHandlers implements URLStreamHandlerFactory