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

lukaszlenart pushed a commit to branch WW-5192-radio
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/WW-5192-radio by this push:
     new b77c2f476 Uses different port for Jetty during integration testing to 
avoid clash
b77c2f476 is described below

commit b77c2f476acf5fbeb531d45dfc0882aad3035042
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Fri Jul 8 08:21:16 2022 +0200

    Uses different port for Jetty during integration testing to avoid clash
---
 apps/showcase/pom.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/apps/showcase/pom.xml b/apps/showcase/pom.xml
index 900c85693..f7713d6fe 100644
--- a/apps/showcase/pom.xml
+++ b/apps/showcase/pom.xml
@@ -167,6 +167,9 @@
                     <includes>
                         <include>it.org.apache.struts2.showcase.*Test</include>
                     </includes>
+                    <systemPropertyVariables>
+                        <http.port>8090</http.port>
+                    </systemPropertyVariables>
                 </configuration>
                 <executions>
                     <execution>
@@ -200,6 +203,9 @@
                             <value>false</value>
                         </systemProperty>
                     </systemProperties>
+                    <httpConnector>
+                        <port>8090</port>
+                    </httpConnector>
                     <scanIntervalSeconds>10</scanIntervalSeconds>
                     
<webAppSourceDirectory>${basedir}/src/main/webapp/</webAppSourceDirectory>
                     <webAppConfig>

Reply via email to