Commit Graph

563 Commits

Author SHA1 Message Date
Uwe Schindler fa603c9f7f Reenable the test: The bug was that all classes (even test classes) were handled as SolrInfoMBeans, so the test loaded all classes. Some tests initialized statics at the wrong time. This patch adds a check, that only build/solr classes are loaded by classloader.
If there are still problems, we may have solr core classes, that initialize statics in a wrong way. In this case we have to fix those, these are real bugs!

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023845 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 15:26:46 +00:00
Andrzej Bialecki abbd3f0e4d SOLR-2157 Suggester should return alpha-sorted results when onlyMorePopular=false.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023802 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 13:50:07 +00:00
Yonik Seeley 7c80b7e7a0 tests: temp hack to close unused core container
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023645 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 03:47:06 +00:00
Robert Muir 91a60c3818 only spellchecker tests need create spellcheck indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023621 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 01:38:41 +00:00
Yonik Seeley 1e90237359 tests: close requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023606 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 00:35:30 +00:00
Yonik Seeley 342d75e92d tests: close requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023603 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 00:14:17 +00:00
Yonik Seeley d56d528489 tests: close requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023602 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 00:07:14 +00:00
Yonik Seeley 26305b1437 tests: close requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023601 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 00:05:03 +00:00
Yonik Seeley 1bb9ec73e2 tests: close requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023600 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 00:04:31 +00:00
Yonik Seeley eee3b95d88 close request even if exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023599 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 23:52:21 +00:00
Yonik Seeley 3944a8f84b tests: close requests (doesn't cause an error)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023595 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 23:14:59 +00:00
Yonik Seeley 9ec8bc6aee tests: close requests (doesn't cause an error)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023594 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 23:11:50 +00:00
Robert Muir e9b6561bbd clean up resources in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023588 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 21:42:13 +00:00
Robert Muir 04dc476fff disable this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023587 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 21:30:53 +00:00
Robert Muir 503024b7c1 more unclosed resources in this spellcheck test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023585 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 21:24:44 +00:00
Robert Muir a4ea95b6ef clean up searchers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023583 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 21:13:39 +00:00
Robert Muir a61e395774 close up searchers in spellchecker tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023579 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 21:06:24 +00:00
Yonik Seeley 7f9f0bdf84 close requests. this instance did not cause a real problem
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023568 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 19:51:01 +00:00
Robert Muir 3190a861b8 close the searcher in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023562 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 19:17:56 +00:00
Yonik Seeley 0334672582 test-related: log core container shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023546 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 18:27:41 +00:00
Yonik Seeley 80f95a16e0 test-related: move constructors together, log core container creation for all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023545 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 18:25:04 +00:00
Yonik Seeley 87489d797c tests: fix resource leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023536 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 17:58:36 +00:00
Yonik Seeley 73a0a1da83 tests: fix resource leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023535 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 17:54:55 +00:00
Yonik Seeley d656ba9873 close the request we created
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023520 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 16:28:37 +00:00
Yonik Seeley 05d93646cc tests: fix resource leaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023518 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 16:16:24 +00:00
Yonik Seeley d2f30722e6 tests: track number of searcher open and closes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023510 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 14:46:52 +00:00
Yonik Seeley 613f758c92 tests: jsontest - allow asserting that a path does not exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023509 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 14:42:53 +00:00
Robert Muir 39e1e216b2 add another for now, since it appears to have TZ problems :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023493 13f79535-47bb-0310-9956-ffa450edef68
2010-10-17 13:05:22 +00:00
Yonik Seeley 8a61a8f1f6 tests: fix resource leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023355 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 19:01:32 +00:00
Yonik Seeley 36529dc44f tests: fix resource leak
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023347 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 18:27:41 +00:00
Uwe Schindler fc26e4a843 Reenable scripting test, only hudson uses OpenJDK which has no Rhino engine, so add assume.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023346 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 18:27:08 +00:00
Yonik Seeley 9530a06b7b tests: use solr's log to skip logging expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023330 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 17:07:59 +00:00
Yonik Seeley e579ca5c62 SOLR-2010: fix resource leak in spellcheck collator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023329 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 17:06:31 +00:00
Uwe Schindler 987f32849b LUCENE-2708: when a test Assume fails, display information, improved one
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023312 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 15:43:11 +00:00
Yonik Seeley d99c26f81f formatting/indenting changes only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023283 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 13:48:51 +00:00
Robert Muir f0e36d867b revert r1023266: maybe openjdk doesnt have scripts this needs... perhaps use Assume later in case you have the support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023272 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 12:46:22 +00:00
Robert Muir 777cf3a1e2 remove @Ignores for these tests because trunk is on java 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023266 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 12:08:55 +00:00
Robert Muir c4c3f3595c add reason why this test is @Ignore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023265 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 12:08:33 +00:00
Robert Muir 72494f7335 add reasons why the tests are @Ignored so you see them from the console
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023264 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 12:07:31 +00:00
Robert Muir 5870f2f0d7 add @Ignore to broken tests for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023246 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 11:15:18 +00:00
Robert Muir f5335a1bf7 add assume for known turkish bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023245 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 11:10:15 +00:00
Robert Muir a98641ee43 hack the hack, for hudson since it has no ipv6: protocol not supported immediate failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023235 13f79535-47bb-0310-9956-ffa450edef68
2010-10-16 10:19:54 +00:00
Yonik Seeley 5fb1cb4046 tests: lazy handler test didn't acutally test lazy handler, convert to junit4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023106 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 20:46:05 +00:00
Yonik Seeley aa33fe16a6 SOLR-2142: fix PagedBytes for copying zero-len BytesRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023082 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 19:41:08 +00:00
Robert Muir 6196f05028 fix compile-test for rename
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023042 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 18:00:26 +00:00
Yonik Seeley 5d6cc6a5f0 tests: consolidate tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1023040 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 17:52:50 +00:00
Yonik Seeley 612a6ceaac tests: log failure to better correlate where it happened
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022998 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 16:25:30 +00:00
Yonik Seeley 3422c9e2d8 tests: simplify test, use minimal config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022989 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 16:08:01 +00:00
Yonik Seeley 3dbd9818e4 tests: fix resource leaks and simplify
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022956 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 14:53:48 +00:00
Robert Muir 20794e47f3 SOLR-2163: SolrRequestParserTest.testStreamURL test failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1022939 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 14:28:42 +00:00