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

Support surefire rerunFailingTestsCount

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • 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

            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:
                Resolved: