Commit Graph

104 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
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
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
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 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
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
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
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 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 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
Steven Rowe 0c447d1344 LUCENE-3795: IntelliJ IDEA configuration: fixed module name in dev-tools/idea/.idea/workspace.xml; and in spatial.iml, removed unnecessary "exported" attributes, and switched analysis-common module dependency to have TEST scope.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300424 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 00:25:28 +00:00
David Wayne Smiley 4fd44f3d41 LUCENE-3795: get intellij build to work.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1295438 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 07:08:59 +00:00
Ryan McKinley 5818381078 LUCENE-3795: fix paths for spatial-base.jar and spatial-strategy.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1292433 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 18:27:17 +00:00
David Wayne Smiley 42d08cd271 LUCENE-3795 IntelliJ IDEA updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3795_lsp_spatial_module@1292166 13f79535-47bb-0310-9956-ffa450edef68
2012-02-22 07:50:32 +00:00
Steven Rowe bade8e172b LUCENE-3731: Maven and IntelliJ IDEA configuration: fleshed these configurations out so they're functional
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244275 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 23:38:03 +00:00
Tommaso Teofili d66d97790b [LUCENE-3731] - Creating the analysis-uima module for UIMA based tokenizers/analyzers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244236 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 22:13:34 +00:00
Dawid Weiss 213ad3290a LUCENE-3762: Upgrade JUnit to 4.10, refactor state-machine of detecting
setUp/tearDown call chaining.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1243863 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 10:27:16 +00:00
Steven Rowe 9cf7bc1c22 LUCENE-3753: IntelliJ IDEA configuration: Add new Ant build files in lucene/core/, lucene/test-framework/, and lucene/tools/.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241598 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 20:30:33 +00:00
Steven Rowe 3c586fa3ea LUCENE-3753: IntelliJ IDEA configuration: make lucene module test configuration working directory be the IntelliJ build output directory for this module.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241596 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 20:23:45 +00:00
Steven Rowe 167982a5b4 LUCENE-3737: IntelliJ IDEA configuration: Fix module references in .idea/ant.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238671 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:44:39 +00:00
Steven Rowe 2d3d42f29b IntelliJ IDEA configuration: Alphabetize entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238670 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:42:50 +00:00
Steven Rowe aec9985944 IntelliJ IDEA configuration: removed obsolete Ant library
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238668 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 15:39:26 +00:00