shaikhu commented on code in PR #12201:
URL: https://github.com/apache/lucene/pull/12201#discussion_r1161643343
##########
lucene/backward-codecs/src/test/org/apache/lucene/backward_index/TestBackwardsCompatibility.java:
##########
@@ -147,9 +147,10 @@ public class TestBackwardsCompatibility extends
LuceneTestCase {
//
// -----
//
- // To generate backcompat indexes with the current default codec, run the
following ant command:
- // ant test -Dtestcase=TestBackwardsCompatibility
-Dtests.bwcdir=/path/to/store/indexes
- // -Dtests.codec=default -Dtests.useSecurityManager=false
+ // To generate backcompat indexes with the current default codec, run the
following gradle
+ // command:
+ // gradlew test -Dtestcase=TestBackwardsCompatibility
-Dtests.bwcdir=/path/to/store/indexes
Review Comment:
> I don't think `-Dtestcase` works with gradle, please refer to this:
https://stackoverflow.com/questions/22505533/how-to-run-only-one-unit-test-class-using-gradle
>
> Also maybe give the command a try to verify your change?
Yes, you're correct it `-Dtestcase` doesn't work with Gradle. Testing
locally the following command worked
```gradlew test --tests TestBackwardsCompatibility```.
--
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]