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

Support surefire rerunFailingTestsCount

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • None

    Description

      We would like to rerun tests that failed:

      When the test is failing randomly in the ISPN Test suite, the surefire is not rerunning the failed test

            if ((new Random().nextInt(2) + 1) % 2 == 0) {
               throw new IllegalStateException();
            }
      

      mvn verify -pl core -Dtest=EvictionDuringBatchTest#testEvictionDuringBatchOperations -Dsurefire.rerunFailingTestsCount=2

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: ISPN

              People

                dlovison@redhat.com Diego Lovison
                dlovison@redhat.com Diego Lovison
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated: