[
https://issues.apache.org/jira/browse/ARTEMIS-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299097#comment-16299097
]
ASF subversion and git services commented on ARTEMIS-1532:
----------------------------------------------------------
Commit aa730fdaa72b0530a7e5d901c5bf7016b67a35e7 in activemq-artemis's branch
refs/heads/master from [~jdanek]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=aa730fd ]
ARTEMIS-1532 Enable tests which are unintentionally skipped by Surefire
These tests used to have a wrong name, so they weren't executed by
Surefire during a `mvn test` run.
After enablement, the following tests are now failing:
*
org.apache.activemq.artemis.tests.integration.cluster.ha.HAAutomaticBackupSharedStoreTest
* org.apache.activemq.artemis.tests.integration.ra.OutgoingConnectionNoJTATest
*
org.apache.activemq.artemis.tests.unit.core.server.group.impl.SystemPropertyOverrideTest.testSystemPropertyOverride
> Enable tests which are unintentionally skipped by surefire
> ----------------------------------------------------------
>
> Key: ARTEMIS-1532
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1532
> Project: ActiveMQ Artemis
> Issue Type: Test
> Components: Broker, STOMP
> Affects Versions: 1.5.6, 2.5.0
> Reporter: Jiri Daněk
> Assignee: Justin Bertram
>
> Some tests, e.g.
> {{org.apache.activemq.artemis.tests.integration.stomp#StompTestWithInterceptors}}
> are not being run by Maven.
> This is because by default the Surefire Maven plugin searches for tests in
> classes with a certain name pattern. These tests are not named to conform to
> this pattern.
> https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html
> There are some tests which have a conforming name, but it is not *Test.java,
> which seems to be the chosen Artemis convention. These are
> {noformat}
> org.apache.activemq.advisory.AdvisoryTests
> org.apache.activemq.artemis.tests.integration.amqp.TopicDurableTests
> org.apache.activemq.usecases.DurableSubscriptionHangTestCase
> org.apache.activemq.usecases.TestBrokerConnectionDuplexExcludedDestinations
> org.apache.activemq.artemis.tests.smoke.expire.TestSimpleExpire
> {noformat}
> CC [~clebertsuconic]
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)