Commit Graph

15756 Commits

Author SHA1 Message Date
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
Mark Robert Miller 4d32c5d6bc SOLR-4203: An ephemeral directory implementation should cause the transaction log to be ignored on startup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422399 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:58:01 +00:00
Uwe Schindler 2fb382ee07 SOLR-4195: Remove unused sysprop from test runner and enforce absolute pathnames by using the file= attribute of sysproperty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422397 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:52:02 +00:00
Mark Robert Miller 307ebd17cb SOLR-4199: When doing zk retries due to connectionloss, rather than just retrying for 2 minutes, retry in proportion to the session timeout.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422391 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:23:07 +00:00
Mark Robert Miller a6b2552873 remove unused import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422384 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:16:57 +00:00
Mark Robert Miller 4714e250ea fix commented out debug code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422372 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:01:13 +00:00
Mark Robert Miller 181cad843a SOLR-4198: OverseerCollectionProcessor should implement ClosableThread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422371 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 21:59:10 +00:00
Uwe Schindler a9e41d20a3 SOLR-4195: Further restrict security policy of tests to disallow writing to files outside the test's work dir (e.g. disallow writing to build/test-files)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422368 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 21:50:57 +00:00
Uwe Schindler 6af24c8866 SOLR-4189: Fix hanging threads on FreeBSD in JettySolrRunner by making connector configureable through sysprop, listen only on 127.0.0.1 in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422127 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 22:19:58 +00:00
Mark Robert Miller 17569aa775 SOLR-4120: Collection API: Support for specifying a list of Solr addresses to spread a new collection across.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421999 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 17:53:43 +00:00
Mark Robert Miller 3ab1790be7 SOLR-4187: NPE on Directory release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421914 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 15:03:32 +00:00
Martijn van Groningen 96926cf07d LUCENE-4608: Handle large number of requested fragments better.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421872 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 14:08:07 +00:00
Robert Muir 750e0ef311 fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421868 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 14:05:22 +00:00
Simon Willnauer d688310cfb add eol style native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421839 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 13:08:45 +00:00
Robert Muir 6ec10d0f8b don't skip tests (assume) on J9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421827 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 12:45:52 +00:00
Uwe Schindler 0ff3221bc2 Revert the revert of the revert. I hope Robert Muir will followup and we can agree that this patch is not really a good idea and we should discuss on LUCENE-4630 what to do. I know that Mike is already beasting J9, so we would need an option to disable this AssumptionFailedEx. Thanks in advance!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421818 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 12:31:05 +00:00
Simon Willnauer 5ed3c4654c LUCENE-4629: IndexWriter fails to delete documents if Iterator<IndexDocument> throws an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421798 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 10:54:47 +00:00
Simon Willnauer 48b1d3a2aa fix testcase to only run QueryUtils on a optimized index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421793 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 10:45:02 +00:00
Simon Willnauer dbd3ce549f revert latest commit accidentially added sysouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421792 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 10:42:54 +00:00
Simon Willnauer 80ad45689a fix testcase to only run QueryUtils on a optimized index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421788 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 10:34:43 +00:00
Simon Willnauer 25ed110f82 LUCENE-4628: Added CommonTermsQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421743 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 08:55:51 +00:00
Yonik Seeley 2d4615acdb SOLR-2592: test expected number of requests to servers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421644 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 02:51:21 +00:00
Mark Robert Miller 8295491e12 raise tests timeout to 30s from 15s
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421625 13f79535-47bb-0310-9956-ffa450edef68
2012-12-14 00:22:22 +00:00
Mark Robert Miller 7486aad798 extra insurance that recovery has started or occurred in this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421613 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 23:10:58 +00:00
Uwe Schindler ead809a5ff Don't revert my revert. I disabled this JVM. But to be able to test this I must be able to run the test? Can you please wait the next time before you commit such shit?
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421609 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 23:04:22 +00:00
Robert Muir d819b9c547 dont revert my changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421606 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 22:58:00 +00:00
Uwe Schindler ad079a8bba no comment!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421598 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 22:53:00 +00:00
Robert Muir 052a8d86a1 don't fail tests in a confusing way with a broken jvm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421580 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 22:25:02 +00:00
Mark Robert Miller a3f456e378 use a temp dir for solrhome for this test - it makes a stopwords.bak file that can interfere with later tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421543 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 21:22:05 +00:00
Chris M. Hostetter 92176fce6e grouping tests of case where no docs match main query. written while trying to repro SOLR-4164, but something is still missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421505 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:38:52 +00:00
Yonik Seeley 43f36a5750 SOLR-2592: add additional level in clusterstate.json for collection properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421499 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:33:59 +00:00
Chris M. Hostetter 902381a8ec SOLR-4150: tests for existing fix. includes workarround for SOLR-4181
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421451 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:50:41 +00:00
Mark Robert Miller 882c48c73b up commitWithin from 1 sec to 2 seconds
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421446 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 19:43:29 +00:00
Chris M. Hostetter 68974170ae SOLR-3918: Fixed the 'dist-war-excl-slf4j' ant target to exclude all slf4j jars, so that the resulting war is usable as is provided the servlet container includes the correct slf4j api and impl jars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421411 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 18:12:23 +00:00
Steven Rowe acbe23061b Maven configuration: divert test console output to log files; increase max perm gen to avoid OOMs this will otherwise cause in Maven
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421332 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 15:13:43 +00:00
Mark Robert Miller 3fad0b1dcd SOLR-4144: CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421331 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 15:12:56 +00:00
Mark Robert Miller acf4f12fee SOLR-788: Distributed search support for MLT.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421326 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 15:03:19 +00:00
Shai Erera 6c5f475b4d LUCENE-4621: FacetIndexing/SearchParams house cleaning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421256 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 12:37:14 +00:00
Tommaso Teofili 2e2f1fd713 [SOLR-4150] - added null checks (with log warnings in case of null) to TopGroupsResultTransformer#transformToNative
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421164 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 09:24:29 +00:00
Tommaso Teofili 7e7bfe1f4d [SOLR-3902] - minor fixes (imports / warnings)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421108 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 07:58:27 +00:00
Mark Robert Miller 4fd821cdfa retry close on ThreadInterruptedException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421089 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 07:13:30 +00:00
Mark Robert Miller 02dfa0a4a8 we don't want to throw an exception on closed in release
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421088 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 07:13:06 +00:00
Mark Robert Miller 59feed03d6 while waiting for solr, retry on exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421085 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 06:52:25 +00:00
Mark Robert Miller ce0cc401ff SOLR-4178: ReplicationHandler should abort any current pulls and wait for it's executor to stop during core close.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421078 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 05:33:01 +00:00
Mark Robert Miller 38d16dc7b7 SOLR-4140: Allow access to the collections API through CloudSolrServer without referencing an existing collection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421071 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 03:21:11 +00:00
Chris M. Hostetter 930354533e SOLR-4163: README improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421068 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 02:52:54 +00:00
Mark Robert Miller 60c1022686 remove this - didn't help, not necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421061 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 01:59:36 +00:00
Mark Robert Miller 052a348d61 bump core reload test wait
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421060 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 01:59:14 +00:00
Chris M. Hostetter 3dbffb580f SOLR-4102: Fix UI javascript error if canonical hostname can not be resolved
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421049 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 00:06:11 +00:00
Uwe Schindler 5a34f6a5c9 TestSolrEntityProcessorEndToEnd: Fix getFile() again and fix possible bugs created by non-test-local target SOLR_HOME.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421045 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 23:50:50 +00:00