You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ad...@apache.org on 2017/12/17 11:57:12 UTC

[maven-pmd-plugin] branch master updated: Use random port for wiremock based unit test

This is an automated email from the ASF dual-hosted git repository.

adangel pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-pmd-plugin.git


The following commit(s) were added to refs/heads/master by this push:
     new be28365  Use random port for wiremock based unit test
be28365 is described below

commit be28365b7930e146326c3fb6fa62d126c4a0e210
Author: Andreas Dangel <ad...@apache.org>
AuthorDate: Sun Dec 17 12:19:21 2017 +0100

    Use random port for wiremock based unit test
---
 src/test/java/org/apache/maven/plugins/pmd/PmdReportTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/maven/plugins/pmd/PmdReportTest.java b/src/test/java/org/apache/maven/plugins/pmd/PmdReportTest.java
index b539e79..f1a9b58 100644
--- a/src/test/java/org/apache/maven/plugins/pmd/PmdReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/pmd/PmdReportTest.java
@@ -147,7 +147,7 @@ public class PmdReportTest
         PmdReport mojo = (PmdReport) lookupMojo( "pmd", testPom );
 
         // Additional test case for MPMD-174 (https://issues.apache.org/jira/browse/MPMD-174).
-        WireMockServer mockServer = new WireMockServer( 3456 );
+        WireMockServer mockServer = new WireMockServer();
         mockServer.start();
 
         String sonarRuleset =

-- 
To stop receiving notification emails like this one, please contact
['"commits@maven.apache.org" <co...@maven.apache.org>'].