Skip to content

Commit

Permalink
fix some its.. disable a test which need network access which is wrong
Browse files Browse the repository at this point in the history
Signed-off-by: olivier lamy <olamy@apache.org>
  • Loading branch information
olamy committed Jun 14, 2019
1 parent 58c0c6d commit 5bbfc89
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/it/projects/MJAVADOC-325/invoker.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ invoker.goals=clean javadoc:javadoc
# Javadoc 12+ fails:
# The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/1.5.0/docs/api/ are in the unnamed module.
# Unrelated to the issue
invoker.java.version= 12-
invoker.java.version= 11-
1 change: 0 additions & 1 deletion src/it/projects/MJAVADOC-325/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,4 @@
</plugins>
</pluginManagement>
</build>

</project>
1 change: 1 addition & 0 deletions src/it/projects/MJAVADOC-575_source8-module-info/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
</executions>
<configuration>
<source>8</source>
<detectJavaApiLink>false</detectJavaApiLink>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
import org.codehaus.plexus.util.FileUtils;
import org.codehaus.plexus.util.StringUtils;
import org.junit.AssumptionViolatedException;
import org.junit.Ignore;
import org.sonatype.aether.impl.internal.SimpleLocalRepositoryManager;

/**
Expand Down Expand Up @@ -920,9 +921,12 @@ public void testJdk6()
*
* @throws Exception if any
*/
@Ignore("We don't really want to have unit test which need internet access")
public void testProxy()
throws Exception
{
// ignore test as annotation doesn't ignore anything..
if(true) return;
Settings settings = new Settings();
Proxy proxy = new Proxy();

Expand Down

0 comments on commit 5bbfc89

Please sign in to comment.