LUCENE-9160: add params/docs to override jvm params in gradle build, default C2 off in tests.

Adds some build parameters to tune how tests run. There is an example
shown by "gradle helpLocalSettings"

Default C2 off in tests as it is wasteful locally and causes slowdown of
tests runs. You can override this by setting tests.jvmargs for gradle,
or args for ant.

Some crazy lucene stress tests may need to be toned down after the
change, as they may have been doing too many iterations by default...
but this is not a new problem.
This commit is contained in:
Robert Muir 2020-01-22 09:54:08 -05:00
parent 5ee2a6fcae
commit 16f240e740
No known key found for this signature in database
GPG Key ID: 817AE1DD322D7ECA
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@
</path>
<!-- default arguments to pass to JVM executing tests -->
<property name="args" value=""/>
<property name="args" value="-XX:TieredStopAtLevel=1"/>
<property name="tests.seed" value="" />