Commit Graph

602 Commits

Author SHA1 Message Date
Yonik Seeley 859814a06f SOLR-3161: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306702 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 03:27:02 +00:00
Yonik Seeley 0827fffde6 SOLR-2656: distrib/cloud support for realtime get
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306018 13f79535-47bb-0310-9956-ffa450edef68
2012-03-27 20:58:34 +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
Ryan McKinley a57f29a367 SOLR-3159: Upgrade example and tests to run with Jetty 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298108 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 20:49:28 +00:00
Dawid Weiss 8041c826a7 Class rule to store the currently executing test class. Removed Solr's code that pulled this from the stack frames (which wasn't working because rules wrap the actual test code).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297940 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 11:20:16 +00:00
Uwe Schindler 989530e17e LUCENE-3850: Fix rawtypes warnings for Java 7 compiler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297048 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 13:34:40 +00:00
Dawid Weiss ff27ca3738 LUCENE-3847: LuceneTestCase will now check for modifications of System properties before and after each test (and suite). If changes are detected, the test will fail. A rule can be used to reset system properties to before-scope state (and this has been used to make Solr tests pass).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296888 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 22:03:20 +00:00
Yonik Seeley 6dc05950ae SOLR-3157: remove isTestLoggingFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294968 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 04:16:17 +00:00
Yonik Seeley 19652ce169 SOLR-3157: restrict changes to logging string to formatter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294967 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 04:12:35 +00:00
Yonik Seeley 2b055c2195 SOLR-3157: improve logging, restore legacy logging if not testing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294911 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 00:12:44 +00:00
Yonik Seeley 0b7cf94411 improve logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1294466 13f79535-47bb-0310-9956-ffa450edef68
2012-02-28 05:29:52 +00:00
Mark Robert Miller 5713824147 SOLR-3153: When a leader goes down he should ask replicas to sync in parallel rather than serially.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292652 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 05:22:31 +00:00
James Dyer 264eb5690a SOLR-2847
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244553 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:52:32 +00:00
Steven Rowe d47f01c350 LUCENE-3754: Store generated archive manifests in per-module output directories - each artifact gets its own manifest file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1244536 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 15:30:53 +00:00
Steven Rowe eb0ab3d392 LUCENE-3753: Restructure the Lucene build system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1241588 13f79535-47bb-0310-9956-ffa450edef68
2012-02-07 19:59:05 +00:00
Mark Robert Miller 80db6d38c2 try turning indexsearcher open/close check back on
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239993 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 03:25:49 +00:00
Yonik Seeley f6e4fceda2 SOLR-3078: only return update versions on request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239437 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 02:17:54 +00:00
Robert Muir 3d55e144ac SOLR-3056: support kuromoji in core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239117 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:01:44 +00:00
Mark Robert Miller e1cb522921 SOLR-3066: check if waiting twice as long for solrindexsearchers to be returned changes anything with searcher cnt mismatch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237536 13f79535-47bb-0310-9956-ffa450edef68
2012-01-30 02:57:42 +00:00
Yonik Seeley 817b1e3fe0 SOLR-3066: don't fail for searcher open/close mismatch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1237140 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 19:02:39 +00:00
Mark Robert Miller d3fa5ea86e try raising how long we will wait for balanced open/close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236939 13f79535-47bb-0310-9956-ffa450edef68
2012-01-28 00:24:32 +00:00
Yonik Seeley b141bbb52e tests:remove tracing exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236825 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 18:59:50 +00:00
Yonik Seeley a557fb9f24 tests: don't make it an error if counts aren't reset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236768 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 17:14:47 +00:00
Yonik Seeley d405c74084 tests: reset counts at start of test also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236458 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 00:12:37 +00:00
Mark Robert Miller 231445f166 raise the length of time that we are willing to wait for searchers to be closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236440 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 23:03:51 +00:00
Yonik Seeley 5293942927 don't reset counts until after we are done retrying
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1236352 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 19:16:08 +00:00
Mark Robert Miller 9fed484fb1 SOLR-2358: merge in solrcloud branch (watch out hudson!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235888 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 19:49:26 +00:00
Jan Høydahl d0e4e731d9 SOLR-2280: commitWithin ignored for a delete query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235305 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 15:41:16 +00:00
Chris M. Hostetter ef4e44f30b SOLR-3024: Fixed JSONTestUtil.matchObj to respect delta param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1229713 13f79535-47bb-0310-9956-ffa450edef68
2012-01-10 20:34:09 +00:00
Robert Muir f5d1e967db LUCENE-3667: make tests reasonable if you dont have a supercomputer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1225920 13f79535-47bb-0310-9956-ffa450edef68
2011-12-30 21:14:15 +00:00
Erick Erickson 2208b499fa Fix for SOLR-2975, fix tests that failed occasionally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1215487 13f79535-47bb-0310-9956-ffa450edef68
2011-12-17 13:46:35 +00:00
Steven Rowe 4d901e9cd2 LUCENE-3228: Stop downloading external javadoc package-list files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1210020 13f79535-47bb-0310-9956-ffa450edef68
2011-12-03 21:52:04 +00:00
Michael McCandless c80bb6e229 LUCENE-3601: fix missing incRef for _N.fnx; assert no unref'd files in MDW.close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1207577 13f79535-47bb-0310-9956-ffa450edef68
2011-11-28 20:35:04 +00:00
Chris M. Hostetter 9fd6d2a120 SOLR-2860: remove broken code for tracking solrindexwriter open/close pairs -- redundent because of SOLR-2279
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1196292 13f79535-47bb-0310-9956-ffa450edef68
2011-11-01 21:31:35 +00:00
Erik Hatcher ff8796e5ef SOLR-2718: allow for lazy loaded response writers; clean up test hack for VelocityResponseWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189958 13f79535-47bb-0310-9956-ffa450edef68
2011-10-27 19:30:48 +00:00
Erik Hatcher 426bc2d0b6 SOLR-2588: Move VelocityResponseWriter back to contrib/velocity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189383 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 18:59:18 +00:00
Yonik Seeley 7b1175c602 SOLR-2846: add json handler to solrconfig, fix /udate/json typo in SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1189186 13f79535-47bb-0310-9956-ffa450edef68
2011-10-26 13:12:15 +00:00
Robert Muir 1e577e15b5 LUCENE-3456: use MockTokenizer instead of WhitespaceTokenizer in test configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175529 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 19:10:17 +00:00
Robert Muir 0ea0ca6b60 if there is a leak here, don't cause every subsequent test in the JVM to fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1175376 13f79535-47bb-0310-9956-ffa450edef68
2011-09-25 12:04:41 +00:00
Steven Rowe 0047a77f83 SOLR-2771: Solr modules' tests should not depend on solr-core test classes; move BufferingRequestProcessor from solr-core tests to test-framework so that the Solr Cell module can use it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172428 13f79535-47bb-0310-9956-ffa450edef68
2011-09-19 05:13:52 +00:00
Steven Rowe 24695807f3 SOLR-2766: Package individual javadoc sites for solrj and test-framework.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1171385 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 04:47:04 +00:00
Robert Muir a21f4c018a LUCENE-3402: make LuceneTestCase more robust when failures in @After/@AfterClass happen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1162135 13f79535-47bb-0310-9956-ffa450edef68
2011-08-26 15:08:19 +00:00
Mark Robert Miller 7354f8d9e8 SOLR-2654: Directorys used by a SolrCore are now closed when they are no longer used.
SOLR-2654: The same Directory instance is now always used across a SolrCore so that
it's easier to add other DirectoryFactory's without static caching hacks.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1159378 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 19:46:30 +00:00
Steven Rowe 270dee6521 SOLR-2659: Fix ExternalPaths.determineSourceHome() and SolrJettyTestBase.createJetty() to allow Solrj tests to pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149682 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 18:26:28 +00:00
Yonik Seeley dcaca50a86 tests: make TestHarness thread safe and add multi-threaded random add/commit/get test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1149437 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 02:47:29 +00:00
Steven Rowe 2ea3611703 Remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1146843 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 18:47:27 +00:00
Shalin Shekhar Mangar e6dcad7e98 SOLR-2623 -- Solr JMX MBeans do not survive core reloads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145518 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 10:04:35 +00:00
Christopher John Male 19fd2508c6 SOLR-2647: Made DOMUtilTestBase abstract
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145154 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 12:51:51 +00:00
Steven Rowe 88fe5d121f Merged with trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1144510 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 21:02:20 +00:00
Steven Rowe 4505c08643 SOLR-2452: merged with trunk up r1144161; applied the svn movement script and the latest version of the post-svn-movement patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr2452@1144174 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 06:41:23 +00:00
Dawid Weiss 2b2b97f25b Applied folder moves and renames before merge in SVN r1144174. 2016-01-23 01:17:32 +01:00
Dawid Weiss db22b4d1f7 Applied folder moves and renames before merge in SVN r1144174. 2016-01-23 01:17:07 +01:00