iprithv opened a new pull request, #16140:
URL: https://github.com/apache/lucene/pull/16140
when `tests.iters > 1`, randomizedrunner changes the test names by adding a
`{seed=...}` part. so the method name is no longer exactly `testMethod`, it
becomes something longer.
because of that, when we pass `--tests ClassName.methodName`, junit can’t
find it and fails saying no tests matched.
this change just fixes that automatically. instead of trying to match the
method directly, we run the whole class and pass the method name through
`tests.method`, which randomizedrunner already understands.
also added the same support for junit5 so it behaves the same there.
so basically, method filtering works properly again even when tests are
repeated multiple times
--
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]