Commit Graph

147 Commits

Author SHA1 Message Date
Steven Rowe 17cdd3a46b IntelliJ configuration fixes:
- Make FacetTestCase abstract so that the IntelliJ test runner doesn't try to execute its tests under the facet module test run configuration
- In the facet module configuration, drop source directory facet/src/examples/ and add source directory facet/src/resources/
- Add -Xmx256m to the Lucene core test run configuration to avoid OOM in a couple tests
- Add resource pattern 'test-files:*' to .idea/compiler.xml, so that all files under */src/test-files/, regardless of file name/extension, will be copied over to the test output directory (previously .js files under solr/src/test-files/ were being excluded)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447154 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 08:59:15 +00:00
Steven Rowe 28da8310b9 LUCENE-4728: IntelliJ configuration: add queries module dependency to highlighter module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447141 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 07:37:39 +00:00
Steven Rowe 4bd78bb389 LUCENE-3998: Maven and IntelliJ configurations: add facet module dependency to the demo module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440681 13f79535-47bb-0310-9956-ffa450edef68
2013-01-30 21:32:28 +00:00
Dawid Weiss a25096e273 LUCENE-4650: Upgrade randomized testing to version 2.0.8: make the test framework more robust under low memory conditions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427696 13f79535-47bb-0310-9956-ffa450edef68
2013-01-02 08:16:22 +00:00
Uwe Schindler 59af60a806 SOLR-4205: Update randomized-testing framework to 2.0.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422836 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 10:36:40 +00:00
Uwe Schindler 497342bd6b LUCENE-4632: Restrict test-framework's write permissions more: Only allow write to per-JVM CWD and the clover.db.dir; update randomizedtesting to 2.0.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422437 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 00:50:32 +00:00
Dawid Weiss f26a84adca LUCENE-4603: Upgrade randomized testing to version 2.0.5: print forked JVM PIDs on heartbeat from hung tests (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419261 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 08:41:16 +00:00
Steven Rowe 6024e1465e SOLR-4123: Add per-script customizability to ICUTokenizerFactory via rule files in the ICU RuleBasedBreakIterator format.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416617 13f79535-47bb-0310-9956-ffa450edef68
2012-12-03 18:21:18 +00:00
James Dyer f8736aaf9a SOLR-2045: DIH doesn't release jdbc connections for some databases
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408364 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 17:33:00 +00:00
Dawid Weiss e0e91d252f Upgrade randomized testing to version 2.0.4: avoid hangs on shutdown
hooks hanging forever by calling Runtime.halt() in addition to 
Runtime.exit() after a short delay to allow graceful shutdown (Dawid Weiss)



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402952 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 08:34:26 +00:00
Steven Rowe ec9a50132a LUCENE-4345: Maven and IntelliJ configuration: add new lucene/queries compile dependency, and new lucene/analysis/common test dependency. Make ClassificationTestBase abstract, so that the IntelliJ runner doesn't "fail to start" it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401498 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 21:56:51 +00:00
Dawid Weiss 8fd5dd6bdd Updating rr to 2.0.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1395778 13f79535-47bb-0310-9956-ffa450edef68
2012-10-08 21:05:46 +00:00
Michael McCandless 59a63c2f32 LUCENE-4451: upgrade to randomizedtesting-2.0.2.jar to reduce RAM overhead for tracking new threads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1392541 13f79535-47bb-0310-9956-ffa450edef68
2012-10-01 19:29:53 +00:00
Dawid Weiss 5efe1b60ba LUCENE-4406, LUCENE-4407: Upgrade to randomizedtesting 2.0.1.
Workaround for broken test output XMLs due to non-XML text unicode
chars in strings. Added printing of failed tests at the end of a
test run (Dawid Weiss)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387577 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 13:19:12 +00:00
Steven Rowe 45931b0fec LUCENE-4385: Move IntelliJ build output directories and test working directories to top-level directory idea-build/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384588 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 22:48:59 +00:00
Steven Rowe a6b9fd7472 re-establish alpha sort and add new classification module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384528 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 21:06:02 +00:00
Steven Rowe b5f1088f0a LUCENE-4345: IntelliJ configuration: enable running all classification module tests using the pre-defined run configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384466 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 18:42:22 +00:00
Tommaso Teofili 19119c0476 [LUCENE-4345] - IDEA conf files for lucene classification module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384220 13f79535-47bb-0310-9956-ffa450edef68
2012-09-13 07:10:47 +00:00
Steven Rowe d74cb2ce43 LUCENE-4367: IntelliJ configuration: in the lucene-core-tests module, order the lucene test-framework ahead of the module source.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382560 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 19:00:32 +00:00
Steven Rowe d0d741d127 LUCENE-4367: Fix the IntelliJ configuration by splitting up modules with circular dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382419 13f79535-47bb-0310-9956-ffa450edef68
2012-09-09 08:21:36 +00:00
Dawid Weiss b3c300709c LUCENE-4360: Support running the same test suite multiple times in parallel.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381123 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 10:05:44 +00:00
Adrien Grand 257db54ab0 LUCENE-4340: move non-default codec, postings format and terms dictionary implementations to lucene/codecs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381071 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 08:44:11 +00:00
Robert Muir 84fb1d09d0 LUCENE-4334: remove unnecessary ant-junit dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378090 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 11:50:28 +00:00
Robert Muir 458fcb4446 LUCENE-3923: fail the build on wrong svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1377702 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 14:47:19 +00:00
Steven Rowe b0e23769d5 LUCENE-4313: IntelliJ classpath doesn't include phonetic and morfologik resources/ directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374852 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 21:04:30 +00:00
David Wayne Smiley 57b47505b3 Solr extraction contrib should have compile time dependency on lucene, not just test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374694 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 05:34:30 +00:00
Dawid Weiss cebfa0b9b9 LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Steven Rowe 75b6bf69bd LUCENE-4199: IntelliJ configuration: add lucene tools library to allow compilation where the asm jar is a dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361636 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 06:15:31 +00:00
David Wayne Smiley 29d8ba42d4 spacing / line ending tweaks so it does not differ with config files saved by IntelliJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360327 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 17:57:17 +00:00
David Wayne Smiley 5c14410ce6 spacing / line ending tweaks so it does not differ with config files saved by IntelliJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360324 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 17:54:57 +00:00
Dawid Weiss b57a83e50a LUCENE-4094: Support overriding file.encoding on forked test JVMs
(force via -Drandomized.file.encoding=XXX). (Dawid Weiss)

LUCENE-4189: Test output should include timestamps (start/end for each
test/ suite). Added -Dtests.timestamps=[off by default]. (Dawid Weiss)

LUCENE-4110: Report long periods of forked jvm inactivity (hung tests/ suites).
Added -Dtests.heartbeat=[seconds] with the default of 60 seconds.
(Dawid Weiss)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1357543 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 10:40:01 +00:00
David Wayne Smiley 6cffa393bd Don't use .* imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356308 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 15:43:26 +00:00
Dawid Weiss 36563ae507 LUCENE-4112: upgrade ant dependency to 1.8.2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346369 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 12:26:01 +00:00
Steven Rowe accce5dc26 SOLR-3430: IntelliJ IDEA configuration: add DIH test dependency on HSQLDB
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338854 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 19:34:55 +00:00
Dawid Weiss 4652d65f0b LUCENE-4047: Cleanup of LuceneTestCase: moved blocks of initialization/ cleanup code into JUnit instance and class rules.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 18:47:45 +00:00
Christopher John Male 0bad718d58 LUCENE-2510: Moved Analysis Factory parent classes into analysis module
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335331 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 03:23:47 +00:00
Dawid Weiss 13653afe5c LUCENE-3993: Polishing annoyances from JUnit4
- print @Ignore/@Assumption cause.
- perturb randomness in static contexts (LUCENE-3995).
- intellij idea (in)compatibilities.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327554 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 15:58:25 +00:00
Steven Rowe 7ad9f7aad5 LUCENE-3965: IntelliJ IDEA configuration: support modules/*->lucene/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327150 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 15:50:40 +00:00
Yonik Seeley cf2aab7874 dev-tools: add randomizedtesting jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326660 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 15:50:23 +00:00
Christopher John Male 2de3c452c2 idea config: Added Ant back into the lucene classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325101 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 01:59:12 +00:00
Christopher John Male 3c16d84f3c idea config: Added Ant back into the lucene classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325100 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 01:58:45 +00:00
Steven Rowe c81bb33eea Add JUnit library test scope dependencies where they are missing; switch Lucene module to use the IDEA JUnit library instead of everything under test-framework/lib/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311880 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 17:42:46 +00:00
Robert Muir 86c7878963 svn:eolstyle=native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308638 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 00:59:11 +00:00
Steven Rowe 32fbefeccf LUCENE-3930: IntelliJ configuration: modules/benchmark/conf/ doesn't need to be a test source root - test resource *.alg files are now copied to build/classes/test/conf/ via an ant task (IntelliJ dumps them in build/classes/test/ when benchmark/conf/ is a test soruce root, and that doesn't work)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308476 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 19:15:37 +00:00
Steven Rowe 0945a6521f IntelliJ configuration: enable IntelliJ .alg file copying to benchmark/build/classes/test/conf/ via a new Ant task 'copy-alg-files-for-testing', which is now also called by the benchmark module's compile-test target. (Standard IntelliJ configuration mechanisms don't support copying to a sub-directory of the test output directory.)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308188 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 19:46:49 +00:00
Steven Rowe e0614fd0f0 Make most of the IntelliJ build work again. (Benchmark module still isn't quite right yet)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308011 13f79535-47bb-0310-9956-ffa450edef68
2012-04-01 03:29:12 +00:00
Steven Rowe fa3aec5c49 added *.json to list of files to include when copying resources to build/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307647 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 22:36:19 +00:00
Robert Muir 8f0d7cc135 LUCENE-3930: nuke jars from source tree and use ivy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307563 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 18:04:43 +00:00
Robert Muir ae0f44fcb9 remaining eol-style fixes to trunk, native except .sh (LF)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305492 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 18:57:08 +00:00
Robert Muir a29a14698e fix eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1305339 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 12:58:58 +00:00