dweiss commented on issue #16121:
URL: https://github.com/apache/lucene/issues/16121#issuecomment-4533746359
I think they "detect" method names using this regexp, which fails here -
```
private static final Pattern DESCRIPTOR_PATTERN =
Pattern.compile("(.*)\\((.*)\\)(\\[\\d+])?", Pattern.DOTALL);
```
There is no convention or standard for parsing junit4 descriptors so I guess
it's not easily fixable. Switching to junit5 will work (gradle filters will
work then).
There are also obscure workarounds for junit4 - using an explicit test
method pattern:
```
./gradlew test -p lucene/core --tests 'TestDocValuesRangeIterator'
-Ptests.jvmargs='-Dtests.method=testDocIdRun*' -Ptests.slowestTests.minTime=1
```
Sorry it's a pain.
--
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]