Commit Graph

4732 Commits

Author SHA1 Message Date
Yonik Seeley 88534cd9ad tests: factor out common client creation code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927651 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 00:28:21 +00:00
Yonik Seeley eb1537e7da tests: convert jetty/examples to junit4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927647 13f79535-47bb-0310-9956-ffa450edef68
2010-03-26 00:04:34 +00:00
Yonik Seeley 604c7c220e tests: convert more jetty/example tests to junit4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927644 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 23:55:14 +00:00
Yonik Seeley cec08f1741 fix setting of solr.solr.home
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927637 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 23:23:11 +00:00
Yonik Seeley b42b2d9241 tests: set ramdir for junit4 based tests too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927635 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 23:09:55 +00:00
Yonik Seeley babb0580e2 SOLR-1835: convert some of the jetty/example tests to Junit4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927611 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 22:29:33 +00:00
Yonik Seeley 214bfc6f5f SOLR-1379: fix term component so fields are map elements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927533 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 18:38:26 +00:00
Koji Sekiguchi a6e90e861c forgot to add history to CHANGES.yml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927499 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 17:02:05 +00:00
Koji Sekiguchi e6e5b00533 add FVH capability to solr-ruby
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927489 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 16:39:01 +00:00
Yonik Seeley f5bb9a6c57 tests: conversion + fixups of TermsComponentTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927362 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 12:14:09 +00:00
Yonik Seeley 03216a150e tests: partial conversion + fixups of TermsComponentTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927170 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 20:02:47 +00:00
Yonik Seeley 16cb338474 test: don't spin up embedded core if not needed, and close jetty when done
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927107 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 16:14:06 +00:00
Yonik Seeley 3d50b42f4c test: close files so win can remove later
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927091 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 15:49:30 +00:00
Yonik Seeley 954add8c31 tests: close update handlers created outside of solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@927058 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 13:58:41 +00:00
Mark Robert Miller f6dd096703 allow RAMDir for multi-core tests - add test that docs stay after core reload - change RAMDirFactory to work over core reloads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926875 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 00:12:48 +00:00
Yonik Seeley 6ebd260d01 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926807 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:55:51 +00:00
Yonik Seeley 73d4a3ec66 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:39:33 +00:00
Yonik Seeley 6d36da2c2d tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926795 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:36:46 +00:00
Yonik Seeley 273c083db0 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926793 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 21:32:01 +00:00
Mark Robert Miller 32a370e127 use random tmp data dir for more tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926776 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 20:56:54 +00:00
Yonik Seeley 234c46008a tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926768 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 20:44:05 +00:00
Yonik Seeley 2445887673 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926749 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 19:44:28 +00:00
Yonik Seeley 43d6b2e7e2 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926743 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 19:31:42 +00:00
Yonik Seeley 7ee2e53289 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926715 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 18:43:10 +00:00
Yonik Seeley 46668d80ef tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926673 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 17:24:58 +00:00
Yonik Seeley 4f753f4197 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926672 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 17:19:22 +00:00
Yonik Seeley 64b524a193 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926670 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 17:15:20 +00:00
Yonik Seeley ace867f60b SOLR-1835: add ability to not log exceptions matching a certain pattern
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926654 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 16:41:25 +00:00
Robert Muir c285667cc1 document that ant 1.7.0, needed for junit 4 support is required, just like lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926632 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 15:40:35 +00:00
Uwe Schindler 9213bcafca update build.xml for new clover version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926629 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 15:37:06 +00:00
Robert Muir b2337afd66 SOLR-1835: minor cleanups, remove redundant ant libs, add missing newlines to formatted errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926608 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 15:06:54 +00:00
Robert Muir 569216606e SOLR-1835: add a sysprop -Dsequential-tests=something that allows you to force tests to run sequentially
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926599 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 14:50:34 +00:00
Robert Muir b93a922a5e SOLR-1835: only create the output dir once when doing parallel tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926595 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 14:37:27 +00:00
Mark Robert Miller 94eb33a1df update jetty.xml for new jetty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926579 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 14:10:28 +00:00
Mark Robert Miller 1467ee265b upgrade jetty to 6.1.22
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@926575 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 13:52:08 +00:00
Robert Muir 03345e1482 SOLR-1835: run the core tests in parallel... not perfect but a start
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926470 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 06:02:05 +00:00
Mark Robert Miller 8ae0689e89 change logging to severe for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926336 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 21:07:38 +00:00
Mark Robert Miller ab336b8a17 move index exists check into DirectoryFactory so that it can more properly work with RamDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926320 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 20:31:06 +00:00
Robert Muir 08b0a689da add the RAM parameter for contrib tests, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926248 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 18:28:57 +00:00
Robert Muir cb4985074f prevent useless gc in tests, using the value from lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926145 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 15:42:30 +00:00
Yonik Seeley 7ff2d5d3af tests: maxMergeCount must be set before maxThreadCount
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926102 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 14:24:39 +00:00
Yonik Seeley 64b50a8a42 tests: revert property to prev state
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926086 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 13:54:07 +00:00
Mark Robert Miller 386d3eabbc fix restoring prop in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926083 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 13:52:00 +00:00
Mark Robert Miller c5a9eded5c use ramdir for local tests and fsdir for nightly tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926073 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 13:30:36 +00:00
Yonik Seeley 5f3e28a6f8 docs: clarify that ramdir doesn't work w/ replication
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925903 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 21:36:42 +00:00
Yonik Seeley f011f9535b SOLR-1797: fix ResourceLoader thread safety
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925896 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 21:05:57 +00:00
Yonik Seeley 4abb609eb8 tests: kill prints
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925891 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 20:51:55 +00:00
Robert Muir 2b950ebea5 fix casing of filename
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925888 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21 20:44:58 +00:00
Mark Robert Miller fbcf1b1d98 fix file name case
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925701 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 23:18:39 +00:00
Robert Muir 9a13563009 speed up a few more tests with SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925694 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 22:09:25 +00:00
Robert Muir db59c17a36 strengthen analysis tests: extend Lucene's base testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925682 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 20:59:55 +00:00
Robert Muir 733aabd082 speed up a few more tests with SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925669 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 20:11:03 +00:00
Robert Muir c3d33bc62e merge up to solr trunk rev 925091
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925637 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 17:18:22 +00:00
Robert Muir d21d258367 convert DisMaxRequestHandlerTest to SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925634 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 16:30:22 +00:00
Mark Robert Miller 25d2c54856 fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925631 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 16:03:37 +00:00
Mark Robert Miller aa9b85c260 tweaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925626 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:15:34 +00:00
Mark Robert Miller a75151efd5 call the right close
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925623 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:06:25 +00:00
Mark Robert Miller dcf9dde9ea remove a close that doesn't belong
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925621 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 15:02:12 +00:00
Mark Robert Miller 55f589ae9e Change to RefCntRamDirectory rather than RamDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925620 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 14:57:28 +00:00
Robert Muir 7576bfeb27 Convert HighlighterTest to SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925616 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 14:24:01 +00:00
Robert Muir 5c8e81a87c Convert TestTrie to SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925615 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 14:18:45 +00:00
Robert Muir 3d295fb99a Convert TestCSVLoader to SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925614 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 14:00:37 +00:00
Yonik Seeley 4a75462bb8 support for using RAMDirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925613 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 13:51:27 +00:00
Robert Muir ba9a78addb convert SpellCheckComponentTest to SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925611 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 13:44:30 +00:00
Robert Muir 85873481fe make TestReplicationHandler just extend TestCase instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925607 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 13:37:28 +00:00
Robert Muir 0ab629f421 convert TermsComponentTest to SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925597 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 13:11:20 +00:00
Yonik Seeley 08718bfed9 tests: fix comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925522 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 01:42:40 +00:00
Yonik Seeley 7f0db457f2 tests: lower autowarm count
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925521 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 01:42:20 +00:00
Yonik Seeley 919ac598c4 tests: kill prints, or change to logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925512 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20 01:09:28 +00:00
Robert Muir 48d41551cb convert WordDelimiterFilterTest to SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925464 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 22:32:21 +00:00
Robert Muir 874110e6d8 change BaseDistributedSearchTestCase to just extend TestCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925455 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:59:22 +00:00
Mark Robert Miller eb47921239 switch BasicFuntionalityTest to use SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925449 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:53:34 +00:00
Yonik Seeley 00362003a1 add directoryFactory to example, w/ default to FS
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925431 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:23:57 +00:00
Mark Robert Miller 2a36f33b48 no need to call compile for lucene-core - the contribs will do it
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925396 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 19:41:12 +00:00
Mark Robert Miller 7ff48d1133 keep lucene from compiling 5 times when running test and reorganize all the lucene refs in one spot
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925382 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 19:11:50 +00:00
Yonik Seeley d56233ab6b SOLR-1835: add SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925285 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 15:43:07 +00:00
Mark Robert Miller 676a9ca51d clean up ant a bit - take dupe refs to Lucene classes out of solr contribs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@925206 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 13:01:40 +00:00
Yonik Seeley 097709a317 SOLR-1830: fix test case not closing writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@924652 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:56:34 +00:00
Mark Robert Miller 10849197a2 fix extras classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@924640 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:30:51 +00:00
Mark Robert Miller cd490f915a switch Solr to really run off lucene trunk rather than just copy jars - still needs some love (too many duplicate lucene refs for one) but its a start
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@924634 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 04:39:17 +00:00
Yonik Seeley 2a282e21a1 SOLR-1379: Add RAMDirectoryFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@924627 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 04:02:35 +00:00
Dawid Weiss 42bc0c4616 SVN-GIT conversion, path copy emulation. 2016-01-23 01:18:39 +01:00