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

Support surefire rerunFailingTestsCount

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • None
    • None

      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

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

                Created:
                Updated:
                Resolved: