dweiss commented on issue #16121:
URL: https://github.com/apache/lucene/issues/16121#issuecomment-4561167315

   So, for junit5 classes, it works correctly out of the box on main, with or 
without an asterisk at the end:
   ```
   ./gradlew test -p lucene/core --tests 
'org.apache.lucene.search.TestDocValuesQueries.testDuelPointRangeNumericRangeQuery*'
 -Dtests.iters=3 -Ptests.slowestTests.minTime=1
   
   ./gradlew test -p lucene/core --tests 
'org.apache.lucene.search.TestDocValuesQueries.testDuelPointRangeNumericRangeQuery*'
 -Dtests.iters=3 -Ptests.slowestTests.minTime=1
   ```
   the above results in 4 test executions (1 + 3 reiterations). This is fine 
and it's a result of how it is implemented (via another engine actually, these 
are not mere method calls - they're true reiterations of all hooks, etc.).
   
   For junit4, gradle fails to scope the execution correctly to a single 
method. The `tests.method` trick I quoted above will work but it's awkward - we 
(or gradle folks) should fix it in gradle instead.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to