Commit Graph

60 Commits

Author SHA1 Message Date
Dawid Weiss cf85aab1a0 LUCENE-3808: Switch LuceneTestCaseRunner to RandomizedRunner. Enforce Random sharing contracts. Enforce thread leaks.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326351 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 14:41:44 +00:00
Yonik Seeley 8360a4e387 tests: avoid FC insanity test for distributed tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326199 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 20:19:23 +00:00
Robert Muir 2fe2e82584 LUCENE-1866: better RAT reporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1309248 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 05:03:53 +00:00
Jan Høydahl 058179d177 SOLR-1052: Deprecate/Remove <indexDefaults> and <mainIndex> in favor of <indexConfig> in solrconfig.xml (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308608 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 22:55:37 +00:00
Robert Muir 73db5ff5fc SOLR-2435: nuke confusing duplicate junit dependency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308529 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 20:15:01 +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
Yonik Seeley 6209a4123b tests: increase connection timeouts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307123 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 21:39:30 +00:00
Sami Siren b5f8deb795 SOLR-2020: migrate to Java client that uses Apache Http Components http client (4.x)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306800 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 12:11:37 +00:00
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