|
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> |
|
201 | 202 | <plugin> |
202 | 203 | <artifactId>maven-surefire-plugin</artifactId> |
203 | 204 | <configuration> |
204 | | - <forkCount>1</forkCount> |
205 | | - <reuseForks>false</reuseForks> |
206 | 205 | <argLine>${surefire.argLine}</argLine> |
207 | 206 | <runOrder>alphabetical</runOrder> |
208 | | - <systemPropertyValues> |
209 | | - <org.apache.activemq.default.directory.prefix>target</org.apache.activemq.default.directory.prefix> |
210 | | - </systemPropertyValues> |
211 | | - <!-- includes> |
212 | | - <include>**/*Test.*</include> |
213 | | - </includes --> |
214 | | - <excludes> |
215 | | - <exclude>**/PahoMQTNioTTest.java</exclude> |
216 | | - </excludes> |
| 207 | + <reportFormat>plain</reportFormat> |
| 208 | + <excludedGroups>org.apache.activemq.transport.mqtt.ParallelTest</excludedGroups> |
| 209 | + <systemPropertyVariables> |
| 210 | + <java.net.preferIPv4Stack>true</java.net.preferIPv4Stack> |
| 211 | + <org.apache.activemq.AutoFailTestSupport.disableSystemExit>true</org.apache.activemq.AutoFailTestSupport.disableSystemExit> |
| 212 | + <org.apache.activemq.broker.jmx.createConnector>false</org.apache.activemq.broker.jmx.createConnector> |
| 213 | + <org.apache.activemq.default.directory.prefix>${project.build.directory}/</org.apache.activemq.default.directory.prefix> |
| 214 | + </systemPropertyVariables> |
| 215 | + <consoleOutputReporter> |
| 216 | + <disable>true</disable> |
| 217 | + </consoleOutputReporter> |
| 218 | + <statelessTestsetInfoReporter |
| 219 | + implementation="org.apache.maven.plugin.surefire.extensions.junit5.JUnit5StatelessTestsetInfoTreeReporter"> |
| 220 | + <printStacktraceOnError>true</printStacktraceOnError> |
| 221 | + <printStacktraceOnFailure>true</printStacktraceOnFailure> |
| 222 | + <printStdoutOnError>true</printStdoutOnError> |
| 223 | + <printStdoutOnFailure>true</printStdoutOnFailure> |
| 224 | + <printStderrOnError>true</printStderrOnError> |
| 225 | + <printStderrOnFailure>true</printStderrOnFailure> |
| 226 | + </statelessTestsetInfoReporter> |
| 227 | + <excludes> |
| 228 | + <exclude>**/PahoMQTNioTTest.java</exclude> |
| 229 | + </excludes> |
217 | 230 | </configuration> |
| 231 | + <executions> |
| 232 | + <execution> |
| 233 | + <id>parallel</id> |
| 234 | + <phase>test</phase> |
| 235 | + <goals> |
| 236 | + <goal>test</goal> |
| 237 | + </goals> |
| 238 | + <configuration> |
| 239 | + <!-- drop the default excludedGroups --> |
| 240 | + <excludedGroups combine.self="override"/> |
| 241 | + <groups>org.apache.activemq.transport.mqtt.ParallelTest</groups> |
| 242 | + <forkCount>2C</forkCount> |
| 243 | + <reuseForks>false</reuseForks> |
| 244 | + <forkedProcessTimeoutInSeconds>600</forkedProcessTimeoutInSeconds> |
| 245 | + <systemPropertyVariables> |
| 246 | + <org.apache.activemq.default.directory.prefix>${project.build.directory}/parallel-tests-${surefire.forkNumber}/</org.apache.activemq.default.directory.prefix> |
| 247 | + <!-- when running MQTT tests in parallel in the CI (quite slow) we need to bump the wireformat negotiation timeout (5s by default) --> |
| 248 | + <org.apache.activemq.transport.wireFormatNegotiationTimeout>20000</org.apache.activemq.transport.wireFormatNegotiationTimeout> |
| 249 | + </systemPropertyVariables> |
| 250 | + </configuration> |
| 251 | + </execution> |
| 252 | + </executions> |
218 | 253 | </plugin> |
| 254 | + |
219 | 255 | <plugin> |
220 | 256 | <groupId>org.apache.activemq.protobuf</groupId> |
221 | 257 | <artifactId>activemq-protobuf</artifactId> |
|
0 commit comments