Tibor17 commented on pull request #343:
URL: https://github.com/apache/maven-surefire/pull/343#issuecomment-816057189


   I can confirm that the TCP works well.
   ```
   [INFO] --- maven-surefire-plugin:3.0.0-M6-SNAPSHOT:test (default-test) @ 
exist-core ---
   [INFO]
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.exist.management.JmxRemoteTest
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
14.787 s - in org.exist.management.JmxRemoteTest
   [INFO]
   [INFO] Results:
   [INFO]
   [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
   ```
   
   and this is the POM in `exist-parent/pom.xml`
   
   ```
   <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-surefire-plugin</artifactId>
       <!--
       <version>3.0.0-M5</version>
       -->
       <version>3.0.0-M6-SNAPSHOT</version>
       <configuration>
           <forkNode 
implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
           <forkCount>2C</forkCount>
           <!--  Setting `reuseForks` to `true` greatly speeds up execution of 
the the test suite.
                 However it can make it hard to diagnose problems if tests leak 
state; If you experience
                 such a problem you may want to set it to `false` whilst 
debugging -->
           <reuseForks>true</reuseForks>
           <argLine>-Dfile.encoding=${project.build.sourceEncoding}</argLine>
           <systemPropertyVariables>
               <user.country>UK</user.country>
               <user.language>en</user.language>
               <user.timezone>Europe/Berlin</user.timezone>
               <java.locale.providers>JRE,CLDR,SPI</java.locale.providers>
               
<log4j.configurationFile>${project.build.testOutputDirectory}/log4j2.xml</log4j.configurationFile>
           </systemPropertyVariables>
       </configuration>
   </plugin>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to