Details
-
Bug
-
Resolution: Done
-
Blocker
-
5.0.0.CR2
-
None
Description
"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."