Revert test debugging flags and update surefire/failsafe (#11016)

* Revert "Add a profile for debugging tests that run from Maven (#11011)"

This reverts commit 83895f0f

The same functionality is already natively available in surefire, by adding the `-Dmaven.surefire.debug` flag to Maven.

* Update surefire/failsafe version

These new versions copes better when our tests prints to STDOUT, and disturbs the progress processing that these plugins do.
This commit is contained in:
Chris Vest 2021-02-10 15:35:30 +01:00 committed by GitHub
parent 83895f0f7a
commit ecc12903c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
pom.xml
View File

@ -297,12 +297,6 @@
<argLine.noUnsafe>-Dio.netty.noUnsafe=true</argLine.noUnsafe> <argLine.noUnsafe>-Dio.netty.noUnsafe=true</argLine.noUnsafe>
</properties> </properties>
</profile> </profile>
<profile>
<id>ijDebug</id>
<properties>
<argLine.ijDebug>-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005</argLine.ijDebug>
</properties>
</profile>
<profile> <profile>
<id>coverage</id> <id>coverage</id>
<properties> <properties>
@ -368,12 +362,10 @@
<jboss.marshalling.version>1.4.11.Final</jboss.marshalling.version> <jboss.marshalling.version>1.4.11.Final</jboss.marshalling.version>
<jetty.alpnAgent.version>2.0.10</jetty.alpnAgent.version> <jetty.alpnAgent.version>2.0.10</jetty.alpnAgent.version>
<jetty.alpnAgent.path>"${settings.localRepository}"/org/mortbay/jetty/alpn/jetty-alpn-agent/${jetty.alpnAgent.version}/jetty-alpn-agent-${jetty.alpnAgent.version}.jar</jetty.alpnAgent.path> <jetty.alpnAgent.path>"${settings.localRepository}"/org/mortbay/jetty/alpn/jetty-alpn-agent/${jetty.alpnAgent.version}/jetty-alpn-agent-${jetty.alpnAgent.version}.jar</jetty.alpnAgent.path>
<argLine.ijDebug /> <!-- Overridden when 'ijDebug' profile is active -->
<argLine.common> <argLine.common>
-server -server
-dsa -da -ea:io.netty... -dsa -da -ea:io.netty...
-XX:+HeapDumpOnOutOfMemoryError -XX:+HeapDumpOnOutOfMemoryError
${argLine.ijDebug}
</argLine.common> </argLine.common>
<!-- Default to ALPN. See forcenpn profile to force NPN --> <!-- Default to ALPN. See forcenpn profile to force NPN -->
<argLine.alpnAgent>-javaagent:${jetty.alpnAgent.path}=${jetty.alpnAgent.option}</argLine.alpnAgent> <argLine.alpnAgent>-javaagent:${jetty.alpnAgent.path}=${jetty.alpnAgent.option}</argLine.alpnAgent>
@ -1329,12 +1321,12 @@
<!-- keep surefire and failsafe in sync --> <!-- keep surefire and failsafe in sync -->
<plugin> <plugin>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version> <version>2.22.2</version>
</plugin> </plugin>
<!-- keep surefire and failsafe in sync --> <!-- keep surefire and failsafe in sync -->
<plugin> <plugin>
<artifactId>maven-failsafe-plugin</artifactId> <artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.1</version> <version>2.22.2</version>
</plugin> </plugin>
<plugin> <plugin>
<artifactId>maven-clean-plugin</artifactId> <artifactId>maven-clean-plugin</artifactId>