[infinispan-issues] [JBoss JIRA] Created: (ISPN-1108) Test(s) ignored by maven
Mircea Markus (JIRA)
jira-events at lists.jboss.org
Fri May 13 13:39:50 EDT 2011
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: Manik Surtani
"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