[ https://issues.apache.org/jira/browse/LUCENE-9608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231467#comment-17231467 ]
Dawid Weiss commented on LUCENE-9608: ------------------------------------- I've just added a class that can be hand-triggered to cause an error and it works for me just fine: {code} gradlew :lucene:test-framework:test --tests "TestPleaseFail" "-Ptests.jvmargs=-XX:+UseSerialGC -Dplease.fail=true" {code} results in (note the quotes): {code} ERROR: The following test(s) have failed: - org.apache.lucene.util.TestPleaseFail.testFail (:lucene:test-framework) Test output: C:\Work\apache\lucene.master\lucene\test-framework\build\test-results\test\outputs\OUTPUT-org.apache.lucene.util.TestPleaseFail.txt Reproduce with: gradlew :lucene:test-framework:test --tests "org.apache.lucene.util.TestPleaseFail.testFail" -Ptests.jvms=12 "-Ptests.jvmargs=-XX:+UseCompressedOops -XX:+UseSerialGC -Dplease.fail=true" -Ptests.seed=9845E6C55FCBCABD -Ptests.file.encoding=UTF-8 {code} > Reproduce with line is missing quotes around JVM args > ----------------------------------------------------- > > Key: LUCENE-9608 > URL: https://issues.apache.org/jira/browse/LUCENE-9608 > Project: Lucene - Core > Issue Type: Bug > Reporter: Michael McCandless > Priority: Major > > When we have an exciting test failure, our {{test-framework}} prints a nice > {{Reproduce with:}} output, e.g. from a failure this AM: > {noformat} > Reproduce with: gradlew :lucene:test-framework:test --tests > "org.apache.lucene.util.TestSysoutsLimits" -Ptests.jvms=6 > -Ptests.haltonfailure=false -Ptests.jvmargs=-XX:+UseCompressedOops > -XX:+UseSerialGC -Ptests.seed=43D1E1D1DB325AD7 -Ptests.multiplier=3 > -Ptests.badapples=false -Ptests.file.encoding=US-ASCII {noformat} > But, this is missing quotes around this part: > {noformat} > -Ptests.jvmargs=-XX:+UseCompressedOops -XX:+UseSerialGC {noformat} > it should really be this: > {noformat} > -Ptests.jvmargs="-XX:+UseCompressedOops -XX:+UseSerialGC"{noformat} > Probably this is a simple fix? > -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org