Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
9dccc26
Add parallel test annotations to multiple test classes
jeanouii Feb 17, 2026
ce8bf7b
Add parallel test annotations to multiple test classes
jeanouii Feb 17, 2026
3cf913a
Add parallel test annotations to multiple test classes
jeanouii Feb 17, 2026
dab05da
Add parallel test annotations to multiple TCP test classes
jeanouii Feb 17, 2026
ac268ce
Add parallel test annotations to multiple NIO test classes
jeanouii Feb 17, 2026
7e3dd5f
Add parallel test annotations to multiple Failover test classes
jeanouii Feb 17, 2026
a23ae9a
Add parallel test annotations to multiple auto transport test classes
jeanouii Feb 17, 2026
ebfd41f
Add parallel test annotations to multiple KahaDB test classes
jeanouii Feb 17, 2026
2a32700
Add parallel test annotations to multiple JMS test classes
jeanouii Feb 17, 2026
1c8a281
Add parallel test annotations to multiple cursors test classes
jeanouii Feb 17, 2026
8bb2b9e
Add parallel test annotations to multiple scheduler test classes
jeanouii Feb 17, 2026
0776b27
Add parallel test annotations to multiple jms2 test classes
jeanouii Feb 17, 2026
983d4d1
Add parallel test annotations to multiple bugs test classes
jeanouii Feb 17, 2026
6df74bd
Add parallel test annotations to multiple security test classes
jeanouii Feb 18, 2026
42497b9
Perf tests should not run in parallel for the moment
jeanouii Feb 18, 2026
d4fcc9a
Add parallel test annotations to multiple test classes
jeanouii Feb 18, 2026
780a00b
Add parallel test annotations to additional broker test classes
jeanouii Feb 18, 2026
0a5e3c8
Add parallel test annotations to transport and xbean test classes
jeanouii Feb 18, 2026
0f754ee
Add parallel test annotations to store test classes
jeanouii Feb 18, 2026
b9f4026
Add parallel test annotations to JMX, Management and Spring test classes
jeanouii Feb 18, 2026
49a8c5b
Add parallel test annotations to Network, JNDI and selector test classes
jeanouii Feb 18, 2026
99ef855
Add parallel test annotations to test classes
jeanouii Feb 18, 2026
841385e
Temp remove parellel because of hard coded ports and paths
jeanouii Feb 18, 2026
33c070d
Re-add parallel test annotations to DurableSyncNetworkBridgeTest class
jeanouii Feb 24, 2026
d0ad6a3
fix: revert parallelism for those tests and fix path
jeanouii Mar 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,17 @@
import org.apache.activemq.transport.TransportFilter;
import org.apache.activemq.transport.tcp.SslTransport;
import org.apache.activemq.transport.tcp.TcpTransport;
import org.apache.activemq.test.annotations.ParallelTest;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import java.util.Arrays;
import java.util.List;

import static org.junit.Assert.assertArrayEquals;
import org.junit.experimental.categories.Category;

@Category(ParallelTest.class)
public class ActiveMQSslConnectionFactoryTest extends CombinationTestSupport {
private static final Log LOG = LogFactory.getLog(ActiveMQSslConnectionFactoryTest.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@
import org.apache.activemq.test.JmsTopicSendReceiveTest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
*
*/
@Category(ParallelTest.class)
public class JmsDurableTopicSendReceiveTest extends JmsTopicSendReceiveTest {
private static final Logger LOG = LoggerFactory.getLogger(JmsDurableTopicSendReceiveTest.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
package org.apache.activemq;

import org.apache.activemq.test.JmsTopicSendReceiveTest;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
*
*/
@Category(ParallelTest.class)
public class JmsQueueSendReceiveTest extends JmsTopicSendReceiveTest {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,13 @@
import org.apache.activemq.util.Wait;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
*
*/
@Category(ParallelTest.class)
public class JmsSendReceiveWithMessageExpirationTest extends TestSupport {

private static final Logger LOG = LoggerFactory.getLogger(JmsSendReceiveWithMessageExpirationTest.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.apache.activemq.transport.TransportListener;
import org.apache.activemq.transport.vm.VMTransport;
import org.apache.activemq.util.Wait;
import org.apache.activemq.test.annotations.ParallelTest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -44,10 +45,12 @@
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import org.junit.experimental.categories.Category;

/**
* @version
*/
@Category(ParallelTest.class)
public class JmsTempDestinationTest extends TestCase {

private static final Logger LOG = LoggerFactory.getLogger(JmsTempDestinationTest.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,13 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
*
*/
@Category(ParallelTest.class)
public class JmsTopicRedeliverTest extends TestSupport {

private static final Logger LOG = LoggerFactory.getLogger(JmsTopicRedeliverTest.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@
import org.apache.activemq.test.TestSupport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
*
*/
@Category(ParallelTest.class)
public class JmsTopicRequestReplyTest extends TestSupport implements MessageListener {
private static final Logger LOG = LoggerFactory.getLogger(JmsTopicRequestReplyTest.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,13 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
*
*/
@Category(ParallelTest.class)
public class JmsTopicSelectorTest extends TestSupport {
private static final Logger LOG = LoggerFactory.getLogger(JmsTopicSelectorTest.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
*
*/
@Category(ParallelTest.class)
public class JmsTopicSendReceiveTest extends JmsSendReceiveTestSupport {
private static final Logger LOG = LoggerFactory.getLogger(JmsTopicSendReceiveTest.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@
import jakarta.jms.JMSException;
import jakarta.jms.MessageConsumer;
import jakarta.jms.Session;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
* @version
*/
@Category(ParallelTest.class)
public class JmsTopicSendReceiveWithTwoConnectionsTest extends JmsSendReceiveTestSupport {

private static final org.apache.commons.logging.Log LOG = org.apache.commons.logging.LogFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@
package org.apache.activemq;

import org.apache.activemq.test.JmsResourceProvider;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;


/**
*
*/
@Category(ParallelTest.class)
public class JmsTopicTransactionTest extends JmsTransactionTestSupport {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,13 @@
import org.apache.activemq.broker.region.policy.PolicyMap;
import org.apache.activemq.broker.region.policy.VMPendingQueueMessageStoragePolicy;
import org.apache.activemq.broker.region.policy.VMPendingSubscriberMessageStoragePolicy;
import org.apache.activemq.test.annotations.ParallelTest;

import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.experimental.categories.Category;

@Category(ParallelTest.class)
public class ProducerFlowControlSendFailTest extends ProducerFlowControlTest {

protected BrokerService createBroker() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import org.apache.activemq.transport.tcp.TcpTransport;
import org.apache.activemq.util.DefaultTestAppender;
import org.apache.activemq.util.Wait;
import org.apache.activemq.test.annotations.ParallelTest;
import org.apache.logging.log4j.Level;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.core.Appender;
Expand All @@ -47,7 +48,9 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.experimental.categories.Category;

@Category(ParallelTest.class)
public class ProducerFlowControlTest extends JmsTestSupport {
static final Logger LOG = LoggerFactory.getLogger(ProducerFlowControlTest.class);
ActiveMQQueue queueA = new ActiveMQQueue("QUEUE.A");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,16 @@
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
* Implements the test case attached to:
* https://issues.apache.org/jira/browse/AMQ-4351
*
* This version avoids the spring deps.
*/
@Category(ParallelTest.class)
public class AMQ4351Test extends BrokerTestSupport {

private static final Logger LOG = LoggerFactory.getLogger(AMQ4351Test.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,12 @@
import org.apache.activemq.command.ProducerInfo;
import org.apache.activemq.command.RemoveInfo;
import org.apache.activemq.command.SessionInfo;
import org.apache.activemq.test.annotations.ParallelTest;
import org.junit.experimental.categories.Category;



@Category(ParallelTest.class)
public class BrokerTest extends BrokerTestSupport {

public ActiveMQDestination destination;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@
import org.apache.activemq.command.ConsumerId;
import org.apache.activemq.command.ConsumerInfo;
import org.apache.activemq.command.SessionId;
import org.apache.activemq.test.annotations.ParallelTest;
import org.junit.experimental.categories.Category;



@Category(ParallelTest.class)
public class ConcurrentConnectSimulationTest extends BrokerTestSupport {

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
package org.apache.activemq.broker;

import junit.framework.Test;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

@Category(ParallelTest.class)
public class DedicatedTaskRunnerBrokerTest extends BrokerTest {

protected BrokerService createBroker() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,15 @@
import org.apache.activemq.command.ProducerInfo;
import org.apache.activemq.command.SessionInfo;
import org.apache.activemq.network.NetworkTestSupport;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
* Pretend to be an abusive client that sends multiple identical ConsumerInfo
* commands and make sure the broker doesn't stall because of it.
*/

@Category(ParallelTest.class)
public class DoubleSubscriptionTest extends NetworkTestSupport {

public ActiveMQDestination destination;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
import org.apache.activemq.ActiveMQConnectionFactory;
import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter;
import org.apache.activemq.transport.failover.FailoverTransport;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

@Category(ParallelTest.class)
public class DurablePersistentFalseRestartTest extends BrokerRestartTestSupport {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@
import org.apache.activemq.broker.region.policy.PolicyEntry;
import org.apache.activemq.command.ActiveMQDestination;
import org.apache.activemq.command.ActiveMQQueue;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

@Category(ParallelTest.class)
public class JdbcXARecoveryBrokerNoCacheTest extends JdbcXARecoveryBrokerTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@
import org.apache.activemq.util.IOHelper;
import org.apache.derby.jdbc.EmbeddedDataSource;
import org.apache.derby.jdbc.EmbeddedXADataSource;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

@Category(ParallelTest.class)
public class JdbcXARecoveryBrokerTest extends XARecoveryBrokerTest {

EmbeddedXADataSource dataSource;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@
import org.apache.activemq.command.TransactionInfo;
import org.apache.activemq.command.XATransactionId;
import org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

@Category(ParallelTest.class)
public class KahaDBXARecoveryBrokerTest extends XARecoveryBrokerTest {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@
import org.apache.activemq.command.Response;
import org.apache.activemq.openwire.OpenWireFormat;
import org.apache.activemq.wireformat.WireFormat;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

/**
* Runs against the broker but marshals all request and response commands.
*
*
*/
@Category(ParallelTest.class)
public class MarshallingBrokerTest extends BrokerTest {

public WireFormat wireFormat = new OpenWireFormat();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@
import org.apache.activemq.command.ProducerInfo;
import org.apache.activemq.command.SessionInfo;
import org.apache.activemq.util.Wait;
import org.apache.activemq.test.annotations.ParallelTest;
import org.junit.experimental.categories.Category;



@Category(ParallelTest.class)
public class MessageExpirationTest extends BrokerTestSupport {

public ActiveMQDestination destination;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@

import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.fail;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

@RunWith(BlockJUnit4ClassRunner.class)
@Category(ParallelTest.class)
public class NioQueueSubscriptionTest extends QueueSubscriptionTest {

protected static final Logger LOG = LoggerFactory.getLogger(NioQueueSubscriptionTest.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@
import java.net.URI;
import org.apache.activemq.xbean.XBeanBrokerFactory;
import org.junit.Test;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

// https://issues.apache.org/activemq/browse/AMQ-2939
@Category(ParallelTest.class)
public class OutOfOrderXMLTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@
import org.junit.runners.Parameterized;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

@RunWith(value = Parameterized.class)
@Category(ParallelTest.class)
public class QueueMbeanRestartTest extends TestSupport {
private static final transient Logger LOG = LoggerFactory.getLogger(QueueMbeanRestartTest.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.BlockJUnit4ClassRunner;
import org.junit.experimental.categories.Category;
import org.apache.activemq.test.annotations.ParallelTest;

@RunWith(BlockJUnit4ClassRunner.class)
@Category(ParallelTest.class)
public class QueueSubscriptionTest extends JmsMultipleClientsTestSupport {
protected int messageCount = 1000; // 1000 Messages per producer
protected int prefetchCount = 10;
Expand Down
Loading