[infinispan-issues] [JBoss JIRA] Updated: (ISPN-1108) Test(s) ignored by maven
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Thu May 19 13:02:00 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mircea Markus updated ISPN-1108:
--------------------------------
Assignee: Mircea Markus (was: Manik Surtani)
Fix Version/s: 5.0.0.FINAL
> Test(s) ignored by maven
> ------------------------
>
> Key: ISPN-1108
> URL: https://issues.jboss.org/browse/ISPN-1108
> Project: Infinispan
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 5.0.0.CR2
> Reporter: Mircea Markus
> Assignee: Mircea Markus
> Fix For: 5.0.0.FINAL
>
>
> "mvn test" doesn't run the test TransactionsSpanningReplicatedCaches.
> It does run though other tests from that package, ex: TransactionsSpanningDistributedCachesTest.
> TransactionsSpanningReplicatedCaches is marked as sequential = true (which is redundant). I've tried removing the sequential attribute, but the same thing happened: the test was not run.
> The test runs successfully when specified through: mvn test -Dtest=TransactionsSpanningReplicatedCaches
> While here, also consider removing the mandatory "testName" attribute from @Tests. TestNG now has an @Test (singleThreaded) attribute that: "If set to true, all the methods on this test class are guaranteed to run sequentially, even if the tests are currently being run with parallel="true". This attribute can only be used at the class level and will be ignored if used at the method level."
>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list