Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1108

Test(s) ignored by maven

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 5.0.0.CR8, 5.0.0.FINAL
    • 5.0.0.CR2
    • Test Suite
    • 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."

      Attachments

        Activity

          People

            vblagoje Vladimir Blagojevic (Inactive)
            mircea.markus Mircea Markus (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: