You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "dweiss (via GitHub)" <gi...@apache.org> on 2026/05/29 15:51:41 UTC

[PR] Upgrade randomized-runner and junit-platform. [lucene]

dweiss opened a new pull request, #16149:
URL: https://github.com/apache/lucene/pull/16149

   This fixes test filtering and repetitions. #16121
   
   ```
   # junit4 class, filter a single test method, no reps.
   ./gradlew -p lucene/test-framework test --tests "TestPleaseFail.testFail" -Ptests.slowestTests.minTime=0
   
   # junit4 class, filter test method glob, no reps.
   ./gradlew -p lucene/test-framework test --tests "TestPleaseFail.test*" -Ptests.slowestTests.minTime=0
   
   # junit4 class, filter test method glob, with reps.
   ./gradlew -p lucene/test-framework test --tests "TestPleaseFail.test*" -Ptests.slowestTests.minTime=0 -Ptests.iters=3
   
   # junit5 class, filter test method glob, with reps
   ./gradlew -p lucene/core test --tests TestDocValuesQueries.testDuelPointRangeNumericRangeQuery -Ptests.slowestTests.minTime=0 -Ptests.iters=5
   ```
   
   Note `tests.iters` in junit5 results in 6 repetitions (1 + repetead runs). This is fine.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org


Re: [PR] Upgrade randomized-runner and junit-platform. [lucene]

Posted by "dweiss (via GitHub)" <gi...@apache.org>.
dweiss merged PR #16149:
URL: https://github.com/apache/lucene/pull/16149


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org