Uwe Schindler
3b9c728ab5
MR-JAR rewrite of MMapDirectory with JDK-19 preview Panama APIs (>= JDK-19-ea+23) ( #912 )
...
This uses Gradle's auto-provisioning to compile Java 19 classes and build a multi-release JAR from them. Please make sure to regenerate gradle.properties (delete it) or change "org.gradle.java.installations.auto-download" to "true"
2022-09-26 15:22:04 +02:00
Uwe Schindler
0b517573a4
LUCENE-10342: Add logging to static initializers to warn users if unmapping or object size calculation does not work ( #572 )
...
Co-authored-by: Tomoko Uchida <tomoko.uchida.1111@gmail.com>
2021-12-29 18:18:21 +01:00
Dawid Weiss
d928c47d6e
LUCENE-10338: Scan for tests only by convention file name pattern ( #565 )
2021-12-26 18:18:24 +01:00
Dawid Weiss
263765a9b0
LUCENE-10226: test target creates a weird folder (lazy property).
2021-11-09 08:34:04 +01:00
Mike Drob
23256a30fa
Replace deprecated Gradle 7.2 properties ( #417 )
2021-10-29 09:59:47 -05:00
Dawid Weiss
81f5b4d642
LUCENE-9660: add tests.neverUpToDate=true option which, by default, makes test tasks always execute. ( #410 )
2021-10-25 14:51:11 +02:00
Uwe Schindler
fc475360a8
Only pass "--illegal-access=deny" up to JDK-15, later versions deprecate the option and default to "deny"
2021-09-22 19:41:59 +02:00
Dawid Weiss
53bea54669
LUCENE-9375: cleaning up post-split conditional build logic and solr refs. ( #22 )
2021-03-18 11:04:45 +01:00
Dawid Weiss
fdf486ba54
LUCENE-9375: post-repo-split removal of solr counterpart.
2021-03-10 11:20:08 +01:00
Dawid Weiss
409bc37c13
SOLR-14759: a few initial changes so that Lucene can be built independently while Solr code is still in place. ( #2448 )
2021-03-08 14:59:08 +01:00
Uwe Schindler
9ce4b98af2
LUCENE-9587: Add '--illegal-access=deny' to test runner ( #2039 )
2020-10-27 23:28:25 +01:00
Dawid Weiss
3e47bfb7b4
Cleanup remaining scripts to use script-relative resource location.
2020-08-31 15:35:14 +02:00
Dawid Weiss
5e8bb7922b
LUCENE-9491: Consolidate test options and improve support for dynamic… ( #1807 )
...
* LUCENE-9491: Consolidate test options and improve support for dynamically computed values.
2020-08-31 12:20:30 +02:00
Dawid Weiss
def82ab556
LUCENE-9435: Clean up ant compatability remnants in Gradle build
...
* Removing ant-only unused tasks.
* Correct message in TestVersion.java
* Remove unused file.
* Removing forbidden API rules for ant.
* Remove 'resolve' emulation.
* Move ecj-lint to task-definition-relative folder.
* Remove 'packaging' specification. It'll have to wait until proper new packaging is implemented for Solr distribution.
* Move render-javadoc tasks's files to task-relative location.
* Moved security manager policies and default JDK logging file to gradle's task relative locations.
* Removing obsolete ant tools. Moving check source patterns under gradle's folder.
* Correct paths.
* Correct property name in task selector.
2020-08-30 14:01:04 +02:00
Uwe Schindler
42d07d878e
LUCENE-9474: Add back tests.haltonfailure for jenkins compatibility (use boolean as default) - type fix
2020-08-24 01:01:38 +02:00
Uwe Schindler
863d544378
LUCENE-9474: Add back tests.haltonfailure for jenkins compatibility
2020-08-24 00:52:51 +02:00
Uwe Schindler
79f3a1783f
LUCENE-9474: Easier Jenkins automation, by allowing to pass test JVM args as environment variable (this goes inline with RUNTIME_JAVA_HOME)
2020-08-23 22:10:32 +02:00
Dawid Weiss
83ed210fd0
LUCENE-9465: 'beast' task from within gradle ( #1757 )
2020-08-18 09:28:50 +02:00
Robert Muir
975df9ddd3
LUCENE-9182: add apache license headers to all .gradle files and enforce in rat task
2020-01-27 12:05:34 -05:00
Robert Muir
2bb63afdaf
LUCENE-9166: gradle build: test failures need stacktraces
2020-01-27 06:09:04 -05:00
Robert Muir
f5e9bb9493
LUCENE-9165: explicitly cast with the horrible groovy language so that numbers above 9 don't fail
2020-01-24 09:53:47 -05:00
Robert Muir
9dae566ee7
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.
2020-01-22 09:58:30 -05:00
Dawid Weiss
087b2e1c0d
LUCENE-9077: Emit the location of test output on failure.
2020-01-15 14:01:20 +01:00
Dawid Weiss
d9e5daf01b
Move printing tests.verbose to error reporting test listener since we're already catching the output and handle it there anyway.
2020-01-08 11:38:34 +01:00
Dawid Weiss
85d261339b
Speed up spill writer. Echo failed test output to disk.
2020-01-08 10:55:07 +01:00
Dawid Weiss
14dd5a5e4d
Initial error reporting test listener that mirrors failed suite's output.
2020-01-07 22:23:18 +01:00
Dawid Weiss
564a2b7e07
Speed up test filtering by a lot by upgrading to rr 2.7.5.
2019-12-09 16:43:44 +01:00
Dawid Weiss
eeb1c9abf6
Only print the slowest tests at the end of a successful run. Correct verbose mode to parse string switch correctly.
2019-12-08 19:06:01 +01:00
Dawid Weiss
1021f04d1a
Add some support for -Ptests.verbose mode when streams are dumped to the console. This is constrained by gradle's runner but is better than nothing.
2019-12-07 14:53:13 +01:00
Dawid Weiss
519ed997da
Enable solr testing with solr security manager.
2019-12-06 19:25:57 +01:00
Dawid Weiss
3e4d8a17ac
Initial support for running with security manager (lucene).
2019-12-06 17:08:14 +01:00
Dawid Weiss
cd7fd6d750
Clean up test property passing and move a number of properties and randomizations from common.build (ant counterpart)
2019-12-06 11:55:53 +01:00
Dawid Weiss
bf7d115414
Generate hardware-specific defaults for gradle parallelism on the first build run (any task). Add some explanations on how to tweak local settings even further (gradlew :helpLocalSettings
2019-12-05 11:14:09 +01:00
Dawid Weiss
d4a9842375
Initial gradle build layer.
2019-12-02 15:34:57 +01:00