Commit Graph

115 Commits

Author SHA1 Message Date
Dawid Weiss d9c28a0efc Updating randomized testing to 2.0.12 (cosmetic changes - AWT fix, fail on no tests).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537055 13f79535-47bb-0310-9956-ffa450edef68
2013-10-30 11:47:44 +00:00
Steven Rowe c717abd096 Intellij config: JDK setup: switch interpolation markers in dev-tools/idea/.idea/misc.xml to be well-formed (unlikely-to-be-used XML attribute 'subst.="idea.jdk"'), so that in-place users won't be yelled at by Intellij. When IntelliJ starts up without this 'attribute' having been interpolated, it ignores and then removes the unknown XML attribute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524916 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 06:53:16 +00:00
Steven Rowe c9dc2be5ff Intellij config: JDK setup: add missing interpolation marker in dev-tools/idea/.idea/misc.xml; dont print out follow-on instructions if ${idea.jdk} is defined; and when follow-on instructions are printed, show how to avoid the need to manually configure the JDK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524903 13f79535-47bb-0310-9956-ffa450edef68
2013-09-20 05:23:41 +00:00
Steven Rowe 82b4cca7b0 LUCENE-5207: Intellij config for the new expressions module: add Ant support and whole-module JUnit run configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1524859 13f79535-47bb-0310-9956-ffa450edef68
2013-09-19 23:22:14 +00:00
Martijn van Groningen 026526dbd4 Fix idea config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5207@1522898 13f79535-47bb-0310-9956-ffa450edef68
2013-09-13 12:36:22 +00:00
Steven Rowe b2bc345a60 SOLR-4916: Move MiniDfsCluster test dependencies from solr test-framework to solr-core; download solr-core test dependencies to solr/core/test-lib/ instead of solr/core/lib/; download DIH test dependencies to solr/contrib/dataimporthandler/test-lib instead of [...]/lib/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502105 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 04:03:24 +00:00
Steven Rowe 4e23ea197a SOLR-4916: IntelliJ configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497105 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 21:21:11 +00:00
Steven Rowe 7630d6b7e6 LUCENE-4975: replicator module: IntelliJ configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481880 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 14:36:58 +00:00
Dawid Weiss 84d08b269c LUCENE-4987: Upgrade randomized testing to version 2.0.10:
Test framework may fail internally due to overly aggresive J9 optimizations. 




git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480457 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 21:04:04 +00:00
Steven Rowe fda68e7322 LUCENE-4879: IntelliJ configuration: upgrade randomizedtesting-runner dependency from 2.0.8 to 2.0.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461372 13f79535-47bb-0310-9956-ffa450edef68
2013-03-26 23:34:34 +00:00
Steven Rowe 0dbb4d92c1 IntelliJ configuration: language level from 1.6 -> 1.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1459378 13f79535-47bb-0310-9956-ffa450edef68
2013-03-21 16:09:41 +00:00
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