Commit Graph

576 Commits

Author SHA1 Message Date
Christine Poerschke 976079a8ee SOLR-9090: Add directUpdatesToLeadersOnly flag to solrj CloudSolrClient. (Marvin Justice, Christine Poerschke) 2016-07-07 10:03:21 +01:00
Erick 7743718d29 SOLR-9277: Clean up some more remnants of supporting old and new style solr.xml in tests 2016-07-06 19:51:06 -07:00
Shalin Shekhar Mangar 380c5a6b97 SOLR-9207: PeerSync recovery failes if number of updates requested is high. A new useRangeVersions config option is introduced (defaults to true) to send version ranges instead of individual versions for peer sync. 2016-07-07 02:32:45 +05:30
Mike McCandless a893c64595 LUCENE-6171: pass the StandardOpenOption.CREATE_NEW so the filesystem ensures Lucene really is write-once 2016-06-14 15:15:57 -04:00
Christine Poerschke 52f5c50246 LUCENE-7319: remove unused imports 2016-06-13 09:59:14 +01:00
Noble Paul 232b44e283 SOLR-8744: Minimize the impact on ZK when there are a lot of blocked tasks 2016-06-12 13:11:07 +05:30
Steve Rowe 86c053dd10 SOLR-9107: When creating a randomized SSL test config, 100% effective odds of using SSL and/or client auth should never be trumped by chance. 2016-06-08 14:39:01 -04:00
Chris Hostetter 6ffd1ba978 Revert "SOLR-9189: temp disable randomized ssl to get to bottom of recent explosion of timeout related failures in jenkins builds"
All evidence points ot the root cause being unrelated to ssl randomization, so re-enabling this.

This reverts commit 59b4fc0bb0.
2016-06-07 09:09:21 -07:00
Chris Hostetter 59b4fc0bb0 SOLR-9189: temp disable randomized ssl to get to bottom of recent explosion of timeout related failures in jenkins builds 2016-06-06 11:46:36 -07:00
Alan Woodward aed3fc11b1 SOLR-9107: Make SolrTestCaseJ4.beforeClass() / .afterClass() public 2016-06-03 11:54:34 +01:00
Chris Hostetter 09372acb66 SOLR-9107: new @RandomizeSSL annotation for more fine grained control of SSL testing 2016-06-01 14:34:31 -07:00
Alan Woodward ee5836746c SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:43:31 +01:00
Alan Woodward b6d7421412 SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:34:16 +01:00
Chris Hostetter 76063648ae SOLR-8970: Change SSLTestConfig to use a keystore file that is included as a resource in the test-framework jar so users subclassing SolrTestCaseJ4 don't need to preserve magic paths 2016-05-11 16:28:23 -07:00
Mikhail Khludnev 7571e747c3 SOLR-8208: [subquery] document transformer executes separate requests per result document. 2016-05-09 13:08:07 +03:00
Chris Hostetter ac0e73a521 SOLR-9068 / SOLR-5776: replace NullSecureRandom w/ NotSecurePsuedoRandom 2016-05-06 22:46:10 -07:00
Chris Hostetter a5586d29b2 SOLR-9068 / SOLR-5776: Alternate (psuedo random) NullSecureRandom for Constants.SUN_OS 2016-05-06 15:17:11 -07:00
Shalin Shekhar Mangar f5497a33e2 SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead 2016-05-05 05:22:03 +05:30
Chris Hostetter c0a287cb76 SOLR-5776: javadoc typo 2016-05-03 18:27:32 -07:00
Chris Hostetter 9677e2c54b SOLR-5776: refactor SSLConfig so that SSLTestConfig can provide SSLContexts using a NullSecureRandom to prevent SSL tests from blocking on entropy starved machines 2016-05-03 15:31:53 -07:00
David Smiley 70bcd562f9 SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE 2016-05-02 22:20:46 -04:00
Chris Hostetter 791d1e7393 SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested 2016-04-28 13:18:01 -07:00
Noble Paul d830987ae2 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 18:58:08 +05:30
Timothy Potter b36a6ecbe4 SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:17:42 -07:00
Anshum Gupta b02b026b7d SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-07 15:57:49 -07:00
Noble Paul 18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
markrmiller ce172acb8f SOLR-4509: Move to non deprecated HttpClient impl classes to remove stale connection check on every request and move connection lifecycle management towards the client. 2016-04-01 12:21:59 -04:00
David Smiley 94c04237cc SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
2016-03-30 13:42:42 -04:00
Uwe Schindler f93f90ca1b SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:53:59 +01:00
Chris Hostetter 0f78235b94 SOLR-8849: improve reproducibility in random order of chaosmonkey actions 2016-03-15 11:17:45 -07:00
Shalin Shekhar Mangar 093a8ce57c SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection) 2016-03-07 15:03:03 +05:30
Noble Paul c27dd8e038 SOLR-8750 : Use lambdas in code where SAM type interfaces are used 2016-03-04 18:53:47 +05:30
Steve Rowe 9427b7402d SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:22:20 -05:00
Alan Woodward 9a3458f693 SOLR-8758: Add SolrCloudTestCase base class 2016-02-29 18:44:27 +00:00
Shalin Shekhar Mangar 41eb5e8542 SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue and added javadocs 2016-02-27 13:10:51 +05:30
Tomas Fernandez Lobbe 730d10f145 SOLR-8420: Fix long overflow in sumOfSquares for Date statistics
Casted operations to double. Changed the test to support a percentage error given the FUZZY flag in doubles
2016-02-24 19:02:17 -08:00
Christine Poerschke b14fb50b7f SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between <mergePolicy> and <mergePolicyFactory>
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668 removes support for <mergePolicy> then test setup will return to its original complexity.
2016-02-22 15:22:55 +00:00
markrmiller 0bba332549 SOLR-7339: Jetty 9.3 upgrade. 2016-02-16 16:01:10 -05:00
Christine Poerschke b2e47984f4 SOLR-8621: add (test-framework) RandomForceMergePolicyFactory for existing (test-framework) RandomForceMergePolicy 2016-02-11 17:46:44 +00:00
Christine Poerschke 5d32609cdc SOLR-8621: add IndexSchema arg to MergePolicyFactory constructor 2016-02-10 16:28:06 +00:00
markrmiller 899f1fcf74 SOLR-8551: Make collection deletion more robust. 2016-02-08 21:39:01 -05:00
Shai Erera fc5b1ac279 SOLR-8621: deprecate <mergePolicy> in favor of <mergePolicyFactory> 2016-02-08 22:41:51 +02:00
Mike McCandless d2a5c10326 Merge branch 'master' into lucene-6835
Conflicts:
	lucene/facet/src/test/org/apache/lucene/facet/taxonomy/directory/TestAddTaxonomy.java
	lucene/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/TestCompactLabelToOrdinal.java
2016-02-05 12:38:21 -05:00
Shai Erera 813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Shai Erera 30455f728b LUCENE-7010: add MergePolicyWrapper 2016-02-04 09:24:24 +02:00
Mike McCandless 84f44589f6 migrate current patch from svn 2016-02-02 15:53:16 -05:00
Shai Erera 2311c7fee1 SOLR-8560: Add RequestStatusState enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726144 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 05:39:54 +00:00
Yonik Seeley fa3b4c9623 SOLR-8472: tests - pull up common errorHook code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724069 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 15:54:38 +00:00
Mark Robert Miller 7986b8248f SOLR-8468: Raise some test zk connection timeouts up from 10 seconds and remove some test timeout magic numbers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723888 13f79535-47bb-0310-9956-ffa450edef68
2016-01-09 22:42:46 +00:00
Shalin Shekhar Mangar 96360c78c4 SOLR-7339: Revert Jetty 9.3 upgrade
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723604 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 17:51:57 +00:00