Commit Graph

719 Commits

Author SHA1 Message Date
Chris Hostetter 4e0e8e979b SOLR-9304: Fix Solr's HTTP handling to respect '-Dsolr.ssl.checkPeerName=false' aka SOLR_SSL_CHECK_PEER_NAME 2018-04-22 13:38:37 -07:00
Mike McCandless 7c0387ad3f LUCENE-8248: MergePolicyWrapper is renamed to FilterMergePolicy and now also overrides getMaxCFSSegmentSizeMB 2018-04-13 15:45:19 -04:00
Andrzej Bialecki 376f6c4946 SOLR-12181: Add trigger based on document count / index size. 2018-04-11 15:38:54 +02:00
Christine Poerschke e513c95377 SOLR-12151: Add abstract MultiSolrCloudTestCase class. 2018-04-10 21:09:06 +01:00
Varun Thacker 56f80c0dc7 SOLR-12154: Disallow explicit usage of Log4j2 logger via forbidden APIs 2018-04-03 18:21:14 -07:00
Varun Thacker bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Erick Erickson 624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
markrmiller c98ab259c5 SOLR-12101: ZkTestServer was not handling connection timeout settings properly. 2018-03-17 12:36:48 -05:00
Varun Thacker 57524f1d41 SOLR-12083: Fix RealTime GET to work on a cluster running CDCR when using Solr's in-place updates 2018-03-14 12:58:30 -07:00
Jason Gerlowski 971bd26df6 SOLR-11629: Add new CloudSolrClient.Builder ctors
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a
ZK connection string, or one or more Solr base URLs.  One of these two
values must be provided to create a working CloudSolrClient.

Since these values are required, this commit introduces two new ctors,
one for each means of CloudSolrClient setup.  It deprecates the existing
no-arg CloudSolrClient ctor.

Together, these changes make it clearer to our users that these options
are required (and mutually exclusive).
2018-03-10 10:45:43 -05:00
Cao Manh Dat 423a8cf69c SOLR-12051: Election timeout when no replicas are qualified to become leader 2018-03-09 18:19:09 +07:00
Shalin Shekhar Mangar 71fc9cd43d SOLR-11066: Implement a scheduled autoscaling trigger that runs on a fixed interval beginning with a given start time 2018-03-03 01:06:21 +05:30
Andrzej Bialecki eb80ca968e SOLR-11407: Wait for collections to recover before starting the test. 2018-02-28 13:12:51 +01:00
Tomas Fernandez Lobbe 029432e936 SOLR-12041: Fix random test failure in ChaosMonkeyNothingIsSafeWithPullReplicasTest 2018-02-27 15:06:28 -08:00
Mikhail Khludnev d3ef153b09 SOLR-12027: Increasing thread lingering to 80s
Sometimes Jetty can't stop for a minute. We need tests wait more than a minute in the worst case
to avoid test noise like ThreadLeakError: 1 thread leaked from SUITE scope.
2018-02-25 23:18:27 +03:00
Shalin Shekhar Mangar 4446545de6 Revert "SOLR-11066: Implement a scheduled autoscaling trigger that runs on a fixed interval beginning with a given start time"
This reverts commit 137e647
2018-02-22 20:02:35 +05:30
Shalin Shekhar Mangar 137e647f2c SOLR-11066: Implement a scheduled autoscaling trigger that runs on a fixed interval beginning with a given start time 2018-02-22 09:59:23 +05:30
Tomas Fernandez Lobbe 61ea8f60b1 SOLR-11739: Don't accept duplicate async IDs in collection API operations 2018-02-15 16:14:16 -08:00
Uwe Schindler 95e94ab9d9 LUCENE-8170: Improve OpenClover reports (separate test from production code); enable coverage reports inside test-frameworks 2018-02-11 19:24:22 +01:00
Cao Manh Dat 27ef653064 SOLR-11702: Redesign current LIR implementation 2018-01-29 15:55:28 +07:00
Erick Erickson a6b5c5bfb0 SOLR-11810: Upgrade Jetty to 9.4.8 2018-01-16 12:14:03 -08:00
Varun Thacker a3c4f7388c SOLR-11817: Move Collections API classes to it's own package 2018-01-16 11:03:40 -08:00
Tomas Fernandez Lobbe 6a55def1ea SOLR-10995: Improve ChaosMonkey logic to find Jetty running leader node 2018-01-09 22:58:22 -08:00
Christine Poerschke 287062df37 SOLR-11793: Reduce code duplication w.r.t. RestTestHarness(es). 2017-12-28 12:31:05 +00:00
David Smiley f354a278f8 SOLR-11754: remove AbstractSolrTestCase; use SolrTestCaseJ4 instead.
Also removed SolrExampleTestBase in Solrj-tests.
2017-12-21 13:20:22 -05:00
David Smiley e441a99009 SOLR-11757: Tests: SolrException.ignoreException use CopyOnWrite 2017-12-15 17:19:37 -05:00
Steve Rowe 3e2f9e62d7 LUCENE-2899: Add OpenNLP Analysis capabilities as a module 2017-12-15 11:24:18 -05:00
Andrzej Bialecki d6d2e3b2e3 SOLR-11285: Simulation framework for autoscaling. 2017-12-14 12:56:23 +01:00
Mark Miller 5440d925d3 tests: raise chaosmonkey no stop warn time. 2017-12-06 09:24:05 -06:00
David Smiley a43c318a51 SOLR-11507: randomize parallelUpdates for test CloudSolrClientBuilder 2017-11-09 15:58:58 -05:00
Uwe Schindler 3ab1a07662 SOLR-11606: Disable tests automatically if Mockito does not work with Java runtime (Java 10) 2017-11-04 19:37:28 +01:00
David Smiley e001f35289 SOLR-11444: Improve consistency of collection alias handling and collection list references.
Other refactorings of nearby code too.
2017-10-19 00:02:24 -04:00
Christine Poerschke a6f8dd74f0 Fix two s/recieve/receive typos. 2017-10-18 12:59:05 +01:00
Jan Høydahl c4a1bd52e9 SOLR-10628: Fix test failures due to global log level change 2017-08-30 19:58:35 +02:00
Uwe Schindler cf051abcb9 SOLR-11261: Fix missing dependency & add new thread filter 2017-08-20 17:44:30 +02:00
Uwe Schindler c68e668dd7 SOLR-11261, SOLR-10966: Upgrade to Hadoop 2.7.4 to fix incompatibility with Java 9.
This also reverts commit 85a27a231f.
2017-08-20 13:28:18 +02:00
Shalin Shekhar Mangar b091934f9e Create znode upfront and fix chroot handling in delegation token feature 2017-08-09 16:16:53 +05:30
Steve Rowe 9627d1db5d SOLR-11023: Added EnumFieldType, a non-Trie-based version of EnumField, and deprecated EnumField in favor of EnumFieldType. 2017-08-04 19:32:46 -04:00
Steve Rowe edd9c11329 SOLR-10033: TestDistributedSearch: ignore response header warnings section when comparing distributed and control responses 2017-08-02 09:07:19 -04:00
Cao Manh Dat 93ed4770ac SOLR-9321: Remove deprecated methods of ClusterState 2017-08-01 14:55:00 +07:00
Steve Rowe 59db1a8662 SOLR-10926: Increase the odds of randomly choosing point fields in our SolrTestCaseJ4 numeric type randomization 2017-07-27 11:28:26 -04:00
Chris Hostetter 6a59253ec3 SOLR-10494: Make default response format JSON (wt=json), and also indent text responses formats (indent=on) by default 2017-07-24 08:42:02 -07:00
Steve Rowe 7328e59251 SOLR-10916: Convert tests that extend LuceneTestCase and use MiniSolrCloudCluster to instead extend SolrCloudTestCase 2017-07-21 18:28:12 -04:00
markrmiller ffd76a6977 SOLR-10338: Configure SecureRandom non blocking for tests. 2017-07-20 13:40:05 -04:00
Tomas Fernandez Lobbe f0cc3769b5 SOLR-11015: Increase socket timeout time for client used for admin operations in ChaosMonkey tests 2017-07-05 11:55:50 -07:00
Anshum Gupta 6c163658bb SOLR-10456: Deprecate timeout related setters from SolrClients, and replace with Builder based implementation 2017-07-03 21:44:18 -07:00
David Smiley 82a44beb3c SOLR-6807: requestDispatcher/@handleSelect now defaults to false; stop using it.
Deprecated StandardRequestHandler; stop using it.
2017-06-28 17:22:44 -04:00
Uwe Schindler 85a27a231f SOLR-10966, HADOOP-14586: Add workaround for Hadoop-Common 2.7.2 incompatibility with Java 9 2017-06-28 17:47:24 +02:00
Uwe Schindler 02caab4ce1 Revert "SOLR-10951, HADOOP-14586: Add a hack to make Hadoop's Shell work with Java 9 release"
This reverts commit 1e93367c00.
2017-06-28 17:46:16 +02:00
Uwe Schindler 1e93367c00 SOLR-10951, HADOOP-14586: Add a hack to make Hadoop's Shell work with Java 9 release 2017-06-28 17:41:28 +02:00