|
28 | 28 | <artifactId>activemq-mqtt</artifactId> |
29 | 29 | <packaging>jar</packaging> |
30 | 30 | <name>ActiveMQ :: MQTT Protocol</name> |
| 31 | + |
31 | 32 | <description>The ActiveMQ MQTT Protocol Implementation</description> |
32 | 33 |
|
33 | 34 | <dependencies> |
|
215 | 216 | <forkCount>1</forkCount> |
216 | 217 | <argLine>-javaagent:${org.mockito:mockito-core:jar}</argLine> |
217 | 218 | <runOrder>alphabetical</runOrder> |
218 | | - <systemPropertyValues> |
219 | | - <org.apache.activemq.default.directory.prefix>target</org.apache.activemq.default.directory.prefix> |
220 | | - </systemPropertyValues> |
221 | | - <!-- includes> |
222 | | - <include>**/*Test.*</include> |
223 | | - </includes --> |
224 | | - <excludes> |
225 | | - <exclude>**/PahoMQTNioTTest.java</exclude> |
226 | | - </excludes> |
| 219 | + <reportFormat>plain</reportFormat> |
| 220 | + <excludedGroups>org.apache.activemq.transport.mqtt.ParallelTest</excludedGroups> |
| 221 | + <systemPropertyVariables> |
| 222 | + <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> |
| 223 | + <org.apache.activemq.AutoFailTestSupport.disableSystemExit>true</org.apache.activemq.AutoFailTestSupport.disableSystemExit> |
| 224 | + <org.apache.activemq.broker.jmx.createConnector>false</org.apache.activemq.broker.jmx.createConnector> |
| 225 | + <org.apache.activemq.default.directory.prefix>${project.build.directory}/</org.apache.activemq.default.directory.prefix> |
| 226 | + </systemPropertyVariables> |
| 227 | + <consoleOutputReporter> |
| 228 | + <disable>true</disable> |
| 229 | + </consoleOutputReporter> |
| 230 | + <statelessTestsetInfoReporter |
| 231 | + implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter"> |
| 232 | + <printStacktraceOnError>true</printStacktraceOnError> |
| 233 | + <printStacktraceOnFailure>true</printStacktraceOnFailure> |
| 234 | + <printStdoutOnError>true</printStdoutOnError> |
| 235 | + <printStdoutOnFailure>true</printStdoutOnFailure> |
| 236 | + <printStderrOnError>true</printStderrOnError> |
| 237 | + <printStderrOnFailure>true</printStderrOnFailure> |
| 238 | + </statelessTestsetInfoReporter> |
| 239 | + <excludes> |
| 240 | + <exclude>**/PahoMQTNioTTest.java</exclude> |
| 241 | + </excludes> |
227 | 242 | </configuration> |
| 243 | + <executions> |
| 244 | + <execution> |
| 245 | + <id>parallel</id> |
| 246 | + <phase>test</phase> |
| 247 | + <goals> |
| 248 | + <goal>test</goal> |
| 249 | + </goals> |
| 250 | + <configuration> |
| 251 | + <!-- drop the default excludedGroups --> |
| 252 | + <excludedGroups combine.self="override"/> |
| 253 | + <groups>org.apache.activemq.transport.mqtt.ParallelTest</groups> |
| 254 | + <forkCount>2C</forkCount> |
| 255 | + <reuseForks>false</reuseForks> |
| 256 | + <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds> |
| 257 | + <systemPropertyVariables> |
| 258 | + <org.apache.activemq.default.directory.prefix>${project.build.directory}/parallel-tests-${surefire.forkNumber}/</org.apache.activemq.default.directory.prefix> |
| 259 | + <!-- when running MQTT tests in parallel in the CI (quite slow) we need to bump the wireformat negotiation timeout (5s by default) --> |
| 260 | + <org.apache.activemq.transport.wireFormatNegotiationTimeout>20000</org.apache.activemq.transport.wireFormatNegotiationTimeout> |
| 261 | + </systemPropertyVariables> |
| 262 | + </configuration> |
| 263 | + </execution> |
| 264 | + </executions> |
228 | 265 | </plugin> |
| 266 | + |
229 | 267 | <plugin> |
230 | 268 | <groupId>org.apache.activemq.protobuf</groupId> |
231 | 269 | <artifactId>activemq-protobuf</artifactId> |
|
0 commit comments