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
de45b68c90
LUCENE-9448, LUCENE-9990: fix Luke's launcher task.
2021-09-16 08:49:26 +02:00
Dawid Weiss
2b0378cd4a
Use JavaInfo instead of toolchains. Internal but works and is free of toolchain's quirks.
2021-08-25 10:03:59 +02:00
Dawid Weiss
68cf86ba35
Experiments with the new apis.
2021-08-25 10:03:59 +02:00
Dawid Weiss
523cea2c5d
Revert "Adding initial patch by Gautam Worah" (restore pristine main)
...
This reverts commit 067ab4f503aabea59639e692e3ea9ee30750c68e.
2021-08-25 10:03:59 +02:00
Dawid Weiss
bac22d6116
Adding initial patch by Gautam Worah
2021-08-25 10:03:59 +02:00
Robert Muir
06907a2c12
LUCENE-9188: Add jacoco code coverage support to gradle ( #119 )
...
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
Co-authored-by: Uwe Schindler <uschindler@apache.org>
2021-05-02 16:24:06 +02:00
Dawid Weiss
246c4beb22
LUCENE-9854: Clean up utilities to download and extract test/ benchmark data sets. ( #27 )
2021-03-22 12:22:39 +01: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
7f5e660395
LUCENE-9375: some build file cleanups. ( #10 )
2021-03-10 21:47:37 +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
Bruno Roustant
19e6560b7f
Restore read-only permission in solr-tests.policy
2021-03-04 16:20:17 +01:00
Dawid Weiss
7dc43f46fd
LUCENE-9818: print slowest suites, add an option to enable/ disable the function from options. ( #2439 )
2021-03-01 16:02:18 +01:00
Robert Muir
7d3f3d61ce
Fix tests.profile output to not run many many times ( #2417 )
...
The profiler should only be invoked once at the end of the build. During
refactoring the buildFinished() hook became nested underneath stuff such
as allProjects which causes it to run too many times.
2021-02-23 06:54:39 -05:00
Tobias Kaessmann
f142bf9c54
SOLR-15038: Add elevateOnlyDocsMatchingQuery and collectElevatedDocsWhenCollapsing parameters to query elevation.
...
Closes #2134
2021-02-17 10:54:17 +01:00
Dawid Weiss
903782d756
LUCENE-9727: build side support for running Hunspell tests. ( #2313 )
2021-02-08 10:50:25 +01:00
Peter Gromov
82f8d7ba1d
LUCENE-9728: Hunspell: add a performance test ( #2296 )
2021-02-05 09:47:02 +01:00
Peter Gromov
84aa683b6b
LUCENE-9723: Hunspell: update sanity tests that load all dictionaries ( #2290 )
2021-02-03 10:45:35 +01:00
Peter Gromov
b48d5beb34
LUCENE-9707: Hunspell: check Lucene's implementation against Hunspel's test data ( #2267 )
2021-02-02 10:46:14 +01:00
zacharymorn
a7747b63b4
LUCENE-8982: Make NativeUnixDirectory pure java with FileChannel direct IO flag, and rename to DirectIODirectory ( #2052 )
...
LUCENE-8982: Make NativeUnixDirectory pure java with FileChannel direct IO flag, and rename to DirectIODirectory
2021-01-17 23:57:56 +01:00
Dawid Weiss
38c9d2ab76
LUCENE-9650: disable errorprone on jdk16+ ( #2171 )
2020-12-28 23:20:52 +01:00
zacharymorn
ebc87a8a27
LUCENE-8982: Separate out native code to another module to allow cpp build with gradle ( #2068 )
...
* LUCENE-8982: Separate out native code to another module to allow cpp build with gradle
2020-11-16 09:40:03 +01:00
Dawid Weiss
63c4dfa454
LUCENE-9596: Reproduce line for failed tests should have method-level accuracy
2020-11-03 10:56:05 +01:00
Uwe Schindler
9ce4b98af2
LUCENE-9587: Add '--illegal-access=deny' to test runner ( #2039 )
2020-10-27 23:28:25 +01:00
Robert Muir
4c42cbc5c9
LUCENE-9576: give solr back its getFileStoreAttributes permission
...
Solr apparently needs this for its IndexFetcher.
2020-10-18 12:30:47 -04:00
Robert Muir
85b58c262a
LUCENE-9576: nuke SSD detection, modernize CMS defaults
2020-10-17 10:55:35 -04:00
Dawid Weiss
9bfaca0606
LUCENE-9549: add command-line quotes for 'reproduce with'.
2020-09-30 09:49:52 +02:00
Uwe Schindler
f0d3bab321
LUCENE-9512: Move LockFactory stress test to be a unit/integration test ( #1842 )
...
Co-authored-by: Dawid Weiss <dawid.weiss@carrotsearch.com>
2020-09-09 18:42:30 +02:00
Uwe Schindler
f8329378af
LUCENE-9492: Fix beasting to accept also task names in form ":project:beast"; fix bug with default value rejected by Integer.parseInt ( #1808 )
2020-08-31 18:09:21 +02: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
Dawid Weiss
346dde3395
LUCENE-9490: skip checkMissingDocsDefault on runtime Java > 14.
2020-08-29 17:17:24 +02:00
Alexandre Rafalovitch
a57ba25400
SOLR-14783: Remove DIH from 9.0 ( #1794 )
...
* Remove DIH example directory
* Remove contrib code directories
* Remove contrib package related configurations for build tools
* Remove mention of DIH example
* remove dih as build dependencies and no-longer needed version pins
* Remove README references to DIH
* Remove dih mention from the script that probably does need to exist at all
* More build artifact references
* More removed dependencies leftovers (licenses/versions)
* No need to smoke exclude DIH anymore
* Remove Admin UI's DIH integration
* Remove DIH from shortname package list
* Remove unused DIH (related? not?) dataset
Unclear what is happening here, but there is no reference to that directory anywhere else
The other parallel directories ARE referenced in a TestConfigSetsAPI.java
* Hidden Idea files references
* No DIH to ignore anymore
* Remove last Derby DB references
* Remove DIH from documentation
Add the information in Major Changes document with the link to the external repo
* Added/updated a mention to CHANGES
* Fix leftover library mentions
* Fix Spellings
2020-08-29 10:52:04 -04: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
5c2e96b585
LUCENE-9474: Property "tests.badapples" is missing in Gradle, which is needed for Hoss's statistics. Also Jenkins does not run BadApple tests by default
2020-08-23 23:37:54 +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
Dawid Weiss
8ebf2d0b21
LUCENE-9312: Allow builds against arbitrary JVMs (squashed
...
jira/LUCENE-9312)
2020-07-21 09:19:38 +02:00
Dawid Weiss
d32858b127
LUCENE-9301: add manifest entries to JARs (gradle build).
2020-04-04 20:56:35 +02:00
Robert Muir
4b5105e167
LUCENE-9193: heap allocations for tests.profile
...
Can be a bit noisier than cpu sampling, due to how threads are allocated
in tests... maybe we can improve that in the future.
2020-01-30 08:29:10 -05:00
Robert Muir
e504798a44
LUCENE-9185: add "tests.profile" to gradle build to aid fixing slow tests
...
Run test(s) with -Ptests.profile=true to print a histogram at the end of
the build.
2020-01-28 11:27:18 -05: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
8e357b167b
LUCENE-9180: dos2unix files that don't need dos line endings
2020-01-27 11:29:59 -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