zhaih commented on code in PR #12201: URL: https://github.com/apache/lucene/pull/12201#discussion_r1161069795
########## 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? -- 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-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org