7485 Commits

Author SHA1 Message Date
markrmiller
18356de837 SOLR-12923: Harden TestSimTriggerIntegration. 2018-12-09 22:55:32 -06:00
markrmiller
5405b2f1c3 SOLR-12801: Try to harden TestReplicatinHandler#doTestIndexFetchOnMasterRestart. 2018-12-09 22:55:25 -06:00
markrmiller
f47976a219 SOLR-12801: Try to harden SolrRrdBackendFactoryTest. 2018-12-09 22:55:19 -06:00
markrmiller
6f8d598781 SOLR-12801: Harden CollectionsAPISolrJTest#testCreateCollWithDefaultClusterPropertiesNewFormat. 2018-12-09 20:52:03 -06:00
markrmiller
665517d3bf SOLR-12801: Harden CollectionsAPISolrJTest#testCreateCollWithDefaultClusterPropertiesOldFormat. 2018-12-09 18:50:47 -06:00
markrmiller
1d5ae9857f SOLR-12801: Raise timeout in CollectionsAPIAsyncDistributedZkTest. 2018-12-09 18:31:28 -06:00
markrmiller
5d529802c4 SOLR-12801: harden DocValuesNotIndexedTest 2018-12-09 18:31:28 -06:00
markrmiller
0824f7b045 SOLR-12801: use waitForActiveCollection call 2018-12-09 18:31:28 -06:00
markrmiller
f6063a1461 SOLR-12801: boost wait to try and harden 2018-12-09 18:31:28 -06:00
markrmiller
4133ce4cc1 SOLR-12923: Harden TestSimTriggerIntegration.testNodeMarkersRegistration. 2018-12-09 18:31:28 -06:00
markrmiller
3eb2612e67 SOLR-12988: Disable SSL on Java 11/12 for now. 2018-12-09 18:31:28 -06:00
markrmiller
0aef561245 SOLR-12923: Harden TestSimNodeLostTrigger#testTrigger. 2018-12-09 18:31:28 -06:00
markrmiller
3f1b75ab82 SOLR-12801: harden MultiThreadedOCPTest 2018-12-09 18:31:28 -06:00
markrmiller
a9a5cdc34d SOLR-12801: raise jetty idle socket timeout 2018-12-09 18:31:28 -06:00
markrmiller
40432cdfbc SOLR-12801: tweak shard count specificiation 2018-12-09 18:31:28 -06:00
markrmiller
906e32af13 SOLR-12801: harden CollectionsAPIDistributedZkTest 2018-12-09 18:31:28 -06:00
markrmiller
65bfb1639c SOLR-12801: harden CollectionsAPISolrJTest 2018-12-09 18:31:28 -06:00
markrmiller
1184fbed63 SOLR-12923: Harden AutoScalingHandlerTest. 2018-12-09 18:31:28 -06:00
markrmiller
b94911b260 SOLR-12801: don't do single index check here on windows. 2018-12-09 18:31:28 -06:00
markrmiller
e25d6850c4 SOLR-13037: Add @AwaitsFix annotation to TestSimGenericDistributedQueue. 2018-12-09 18:31:28 -06:00
Erick Erickson
f690302e05 SOLR-12727: Upgrade ZooKeeper dependency to 3.4.13 2018-12-09 08:50:51 -08:00
markrmiller
46d7994045 SOLR-13028: @AwaitsFix AutoAddReplicasPlanActionTest#testSimple. 2018-12-06 08:56:03 -06:00
markrmiller
b9a966e5f7 SOLR-12833: Add configurable timeout to VersionBucket lock. 2018-12-06 08:36:56 -06:00
markrmiller
38cfd0e259 SOLR-13040: Add AwaitsFix annotation to TestSQLHandler and improve exception information related to that test. 2018-12-05 19:34:13 -06:00
Chris Hostetter
868e005760 SOLR-13032: harden MaxSizeAutoCommitTest to eliminate race conditions and eliminate use of arbitrary sleep 2018-12-04 10:44:05 -07:00
Gus Heck
59919b4ac0 SOLR-13036 Fix retry logic in JettySolrRunner 2018-12-03 21:54:34 -05:00
markrmiller
e14432efd8 SOLR-12801: Wait for thread on close and add AwaitsFix annotation - most of these sim tests can fail to elect shard leaders. 2018-12-03 17:40:51 -06:00
markrmiller
e3cbdd0505 SOLR-13032: Add @AwaitsFix annotation to test. 2018-12-03 11:07:40 -06:00
markrmiller
1408f5255f SOLR-12801: Disable TimeRoutedAliasUpdateProcessorTest because the feature leaks threads. 2018-12-03 09:07:27 -06:00
Gus Heck
b6b9f9554e SOLR-12801 fix cut/paste oops in comment 2018-12-02 16:41:55 -05:00
Gus Heck
cf4d749410 SOLR-12801 Revert breaking commit a3ec5b5fdf and improve test
to be more complete. Also, add comments to make it easier for
others to understand TimeRoutedAliasUpdateProcessorTest
2018-12-02 16:34:40 -05:00
Jason Gerlowski
c951578fca SOLR-6117: Unify ReplicationHandler error handling
Prior to this commit, ReplicationHandler had a few inconsistencies
in how it reported errors:
  - Sometimes the 'status' field was used as an enum (e.g. 'success'
    v. 'failure'.  Elsewhere it is used to hold error messages.
  - Sometimes an explicit 'message' field was used, but often not.
  - Sometimes a stack trace was provided in place of an error message.

This commit tweaks the various error cases in ReplicationHandler to
report errors consistently.  'status' is always an enum-type value.  A
'message' field is provided for all errors, with an optional 'exception'
field.
2018-12-02 16:23:04 -05:00
Jason Gerlowski
6e4c9b3b58 SOLR-12555: Use expectThrows for expected exceptions
This commit replaces the `try { doX(); fail(); }` pattern with the
`expectThrows` test helper, which was created for this purpose.

This commit makes these changes in the core package:
`o.a.solr.core`.
2018-12-01 17:19:34 -05:00
markrmiller
e5281ef3d5 SOLR-12801: Don't possibly block forever in this test in remaining spots. 2018-12-01 13:02:58 -06:00
markrmiller
b294d8460f SOLR-12801: Don't possibly block forever in this test in another spot. 2018-12-01 12:55:05 -06:00
markrmiller
b5a9cca168 SOLR-12801: Raise THREAD_POOL_MAX_IDLE_TIME_MS. 2018-12-01 12:42:28 -06:00
markrmiller
cbe9f82202 SOLR-12801: Don't possibly block forever in this test. 2018-12-01 08:58:13 -06:00
markrmiller
755044b58f SOLR-12801: Wait for collection creation in test. 2018-12-01 08:09:03 -06:00
markrmiller
9b0b9032e2 SOLR-12801: Fix thread leak in test. 2018-12-01 00:53:12 -06:00
markrmiller
7f88bfa112 SOLR-12801: Wait for collections properly. 2018-12-01 00:26:03 -06:00
markrmiller
a3ec5b5fdf SOLR-12801: Wait for executor to finish shutdown. 2018-12-01 00:26:03 -06:00
markrmiller
d8f482f5fb SOLR-13030: Update executor usage to work correctly with Java 11 and update Mockito & HttpComponents to work with Java 11 and fix get remote info retry to work across jvms better. 2018-12-01 00:26:02 -06:00
markrmiller
a01d0d9ef9 SOLR-13030: Close MetricsHistoryHandler inline. 2018-11-30 18:13:26 -06:00
Chris Hostetter
5dc988f5ee SOLR-12839: JSON 'terms' Faceting now supports a 'prelim_sort' option to use when initially selecting the top ranking buckets, prior to the final 'sort' option used after refinement. 2018-11-30 15:49:06 -07:00
javanna
cf016f8987 LUCENE-8563: Remove k1+1 constant factor from BM25 formula numerator.
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2018-11-30 09:42:49 +01:00
markrmiller
75b1831967 SOLR-12801: Make massive improvements to the tests.
SOLR-12804: Remove static modifier from Overseer queue access.

SOLR-12896: Introduce more checks for shutdown and closed to improve clean close and shutdown. (Partial)

SOLR-12897: Introduce AlreadyClosedException to clean up silly close / shutdown logging. (Partial)

SOLR-12898: Replace cluster state polling with ZkStateReader#waitFor. (Partial)

SOLR-12923: The new AutoScaling tests are way too flaky and need special attention. (Partial)

SOLR-12932: ant test (without badapples=false) should pass easily for developers. (Partial)

SOLR-12933: Fix SolrCloud distributed commit.
2018-11-29 11:58:51 -06:00
David Smiley
1534bbe4ae SOLR-5211: fix test 2018-11-27 07:50:01 -08:00
David Smiley
dc134be449 SOLR-5211: ignore temporarily pending moshe fixing 2018-11-26 10:11:21 -05:00
Moshe
a346ba0d3c SOLR-5211: Always populate _root_ (if defined).
And, small refactor: Clarified how _version_ is transferred from root to children.
2018-11-25 21:47:49 -05:00
Mikhail Khludnev
d7b878e90c SOLR-12546: Let csv response writer to handle docValues fields by default. 2018-11-25 11:26:39 +03:00