Kevin Earls created AMQ-4982:
--------------------------------

             Summary: Categorize Ignored unit tests so they can be run 
selectively
                 Key: AMQ-4982
                 URL: https://issues.apache.org/jira/browse/AMQ-4982
             Project: ActiveMQ
          Issue Type: Test
          Components: Test Cases
            Reporter: Kevin Earls
            Assignee: Kevin Earls


Hiram suggested "perhaps we should annotate/categories our test as 
Failing/Intermittent/Slow instead of ignoring them" as described 
http://www.agile-engineering.net/2012/04/unit-and-integration-tests-with-maven.html

To start with tests that have @Ignore tags:

-- Define categories: FailingTests, IntegrationTest, LongRunningTest, etc.
-- Create/update maven profiles as needed.

The current list of tests with @Ignore annotations is:

 
./activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/AmqpSslTest.java:@Ignore("hangs
 atm, needs investigation")
./activemq-amqp/src/test/java/org/apache/activemq/transport/amqp/bugs/AMQ4914Test.java:
   // @Ignore("AMQ-4914")
./activemq-broker/src/test/java/org/apache/activemq/store/PListTestSupport.java:
    @Ignore("Takes too long.. might have broken it.")
./activemq-camel/src/test/java/org/apache/activemq/camel/JmsJdbcXALoadTest.java:@Ignore("Test
 hangs")
./activemq-camel/src/test/java/org/apache/activemq/camel/JmsJdbcXATest.java:@Ignore("Test
 hangs")
./activemq-http/src/test/java/org/apache/activemq/transport/ws/WSTransportTest.java:
    @Ignore
./activemq-http/src/test/java/org/apache/activemq/transport/ws/WSTransportTest.java:
    @Ignore
./activemq-itests-spring31/src/test/java/org/apache/activemq/itest/spring31/ActiveMQSpringProfile31Test.java:@Ignore("AMQ-3723")
./activemq-karaf-itest/src/test/java/org/apache/activemq/karaf/itest/ActiveMQBrokerNdWebConsoleFeatureTest.java:@Ignore("Can
 fail sometimes. Old web-console is also @deprecated")
./activemq-leveldb-store/src/test/java/org/apache/activemq/leveldb/test/ReplicatedLevelDBBrokerTest.java:
    @Ignore
./activemq-spring/src/test/java/org/apache/bugs/LoadBalanceTest.java:    
@Ignore("Does not work")
./activemq-unit-tests/src/test/java/org/apache/activemq/broker/ft/DbRestartJDBCQueueMasterSlaveLeaseQuiesceTest.java:
    @Ignore
./activemq-unit-tests/src/test/java/org/apache/activemq/broker/ft/DbRestartJDBCQueueMasterSlaveLeaseQuiesceTest.java:
    @Ignore
./activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4853Test.java:  
  @Ignore
./activemq-unit-tests/src/test/java/org/apache/activemq/bugs/AMQ4853Test.java:  
  @Ignore
./activemq-unit-tests/src/test/java/org/apache/activemq/bugs/TempStorageConfigBrokerTest.java:
    @Ignore("blocks in hudson, needs investigation")
./activemq-unit-tests/src/test/java/org/apache/activemq/bugs/TempStorageConfigBrokerTest.java:
    @Ignore("blocks in hudson, needs investigation")
./activemq-unit-tests/src/test/java/org/apache/activemq/network/SimpleNetworkTest.java:
    @Ignore("This seems like a simple use case, but it is problematic to 
consume an existing topic store, " +
./activemq-unit-tests/src/test/java/org/apache/activemq/security/CachedLDAPAuthorizationModuleLegacyOpenLDAPTest.java:@Ignore
./activemq-unit-tests/src/test/java/org/apache/activemq/security/CachedLDAPAuthorizationModuleOpenLDAPTest.java:@Ignore
./activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCTestMemory.java:
    @Ignore("requires human input to terminate!")
./activemq-unit-tests/src/test/java/org/apache/activemq/store/kahadb/NoSpaceIOTest.java:
    @Ignore("needs small volume, like usb key")
./activemq-unit-tests/src/test/java/org/apache/activemq/transport/failover/FailoverTransportTest.java:
    @Ignore("Test fails on windows")
./activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubProcessConcurrentCommitActivateNoDuplicateTest.java:
    @Ignore ("short version in 
org.apache.activemq.usecases.DurableSubscriptionOfflineTest.testNoDuplicateOnConcurrentSendTranCommitAndActivate"
./activemq-unit-tests/src/test/java/org/apache/activemq/usecases/DurableSubProcessWithRestartTest.java:
    @Ignore("covered by 
org.apache.activemq.usecases.DurableSubscriptionOfflineTest.testNoMissOnMatchingSubAfterRestart()")
 @Test
./activemq-unit-tests/src/test/java/org/apache/activemq/usecases/MemoryLimitTest.java:
    @Ignore






--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to