Steve Rowe
a62b5941b0
SOLR-13060: Annotate never-terminating HDFS Nightly tests with AwaitsFix
2018-12-15 12:24:57 -05:00
Dawid Weiss
e916f1fb86
LUCENE-8611: Update randomizedtesting to 2.7.2, JUnit to 4.12, add hamcrest-core dependency.
2018-12-15 09:49:36 +01:00
Simon Willnauer
e974311d91
LUCENE-8609: Allow getting consistent docstats from IndexWriter
...
Today we have #numDocs() and #maxDoc() on IndexWriter. This is enough
to get all stats for the current index but it's subject to concurrency
and might return numbers that are not consistent ie. some cases can
return maxDoc < numDocs which is undesirable. This change adds a getDocStats()
method to index writer to allow fetching consistent numbers for these stats.
This change also deprecates IndexWriter#numDocs() and IndexWriter#maxDoc()
and replaces all their usages wiht IndexWriter#getDocStats()
2018-12-14 19:36:25 +01:00
Jason Gerlowski
1d601ed646
SOLR-13065: Harden TestSimExecutePlanAction
2018-12-14 12:22:09 -05:00
Jason Gerlowski
655e9ecf7c
Fix active replica count reporting in SimClusterStateProvider
...
One codepath assumed all replicas were active, instead of checking the
state of each individually.
2018-12-14 12:21:47 -05:00
Jason Gerlowski
dd910d1a06
Indicate collection in `clusterShape` log messages
...
Many of Solr's tests use CloudTestUtils' `waitForState` and
`clusterShape` methods to wait until a SolrCloud cluster matches a
particular expected shape. The code periodically checks on the cluster
state, and logs a message if a collection doesn't match the state we
expect of it. Prior to this commit, these log messages omitted the
collection name though, which makes things a little confusing when a
test is checking on the state of multiple collections simultaneously (as
can happen when Triggers fire in the background).
2018-12-14 12:21:19 -05:00
Chris Hostetter
f844461357
SOLR-13072: disable flawed test of flawed functionality
2018-12-13 15:32:09 -07:00
Chris Hostetter
46516b7077
SOLR-13068: Update many cloud/autoscaling tests to use TimeSource.NANO_TIME (instead of CURRENT_TIME) for comparisons
...
as much as possible, the tests actual use the time source directly from the cluster, so that even if the cluster is changed to use an alternate time source, the tests will be consistent
2018-12-13 11:02:24 -07:00
Jason Gerlowski
d7ad2f46c3
SOLR-13037: Harden TestSimGenericDistributedQueue
2018-12-13 06:27:34 -05:00
Jan Høydahl
81dbad54e0
SOLR-12799: Allow Authentication Plugins to intercept internode requests on a per-request basis
...
Add 'forwardCredentials' parameter to BasicAuth which will then skip using PKI on sub requests
2018-12-13 10:51:56 +01:00
markrmiller
42f13731b3
SOLR-12801: Harden SimSolrCloudTests.
2018-12-12 18:50:23 -06:00
markrmiller
44b51cd041
SOLR-13067: Harden BasicAuthIntegrationTest.
2018-12-12 18:50:23 -06:00
markrmiller
7de72c9bc7
SOLR-13066: A failure while reloading a SolrCore can result in the SolrCore not being closed.
2018-12-12 18:49:06 -06:00
Jan Høydahl
9728dbc167
SOLR-12791, SOLR-13067: Fix test failure for BasicAuthIntegrationTest
...
Make PkiAuthenticationIntegrationTest beast-able
2018-12-13 00:14:37 +01:00
Joel Bernstein
1e68726831
SOLR-12801: Suppress SSL and older codecs
2018-12-12 15:38:40 -05:00
Jan Høydahl
ef2f0cd88c
SOLR-12791: Add Metrics reporting for AuthenticationPlugin
2018-12-12 11:33:32 +01:00
Jan Høydahl
280f67927e
SOLR-7896: Add a login page to Admin UI, with initial support for Basic Auth
2018-12-12 10:37:23 +01:00
Jan Høydahl
5affe7421f
SOLR-13025: SchemaSimilarityFactory fallback to LegacyBM25Similarity for luceneMatchVersion < 8.0
2018-12-12 10:33:50 +01:00
markrmiller
bcdc6dadbb
SOLR-13040: Fix TestSQLHandler, remove delete core calls.
2018-12-12 02:06:26 -06:00
Steve Rowe
ec1bd0da2f
SOLR-13060: set suite timeout on non-terminating HDFS Nightly tests to one hour
2018-12-11 18:49:06 -08:00
Gus Heck
a7859ff62a
SOLR-13058 Fix synchronized block
2018-12-11 18:45:42 -05:00
Chris Hostetter
ade7546ad2
Merge remote-tracking branch 'refs/remotes/origin/master'
2018-12-11 13:21:52 -07:00
Chris Hostetter
de65b45fca
change NodeLostTrigger's initial run() log from INFO to DEBUG
2018-12-11 13:18:32 -07:00
markrmiller
c852418148
SOLR-12801: Harden TestSimLargeCluster.
2018-12-11 14:17:10 -06:00
Chris Hostetter
3147c131e0
SOLR-13054: rewrite TriggerSetPropertiesIntegrationTest
...
test no longer depends on changing static non-final non-volatile variables used by multiple threads
test also no longer depends on arbitrary sleep calls, instead threads await/poll on concurrent signaling objects/queues
2018-12-11 10:39:00 -07:00
markrmiller
274a6eba90
SOLR-12801: Try to harden CdcrBootstrapTest.
2018-12-11 08:58:42 -06:00
markrmiller
19d968dc3d
SOLR-12801: Harden OverseerTaskQueueTest and DistributedQueueTest.
2018-12-11 08:58:42 -06:00
markrmiller
b9278d7c99
SOLR-12923: Harden TestSimTriggerIntegration.
2018-12-11 08:58:42 -06:00
markrmiller
eb1735ece9
SOLR-12923: Harden TestSimLargeCluster.
2018-12-11 08:58:42 -06:00
markrmiller
a25ddcd4f3
SOLR-12801: Harden InfixSuggestersTest#testShutdownDuringBuild.
2018-12-11 08:58:42 -06:00
markrmiller
ab891fa472
SOLR-12801: Harden TestCloudRecovery.
2018-12-11 05:45:34 -06:00
markrmiller
496c627882
SOLR-12801: Raise this test socket timeout to 30 seconds.
2018-12-11 05:45:28 -06:00
markrmiller
3205491beb
SOLR-12923: Harden TestSimTriggerIntegration.
2018-12-11 05:45:19 -06:00
markrmiller
7605427481
SOLR-12801: Harden BasicDistributedZk2Test.
2018-12-11 05:45:12 -06:00
Cao Manh Dat
40502b9ba8
SOLR-13028: Remove AwaitsFix for AutoAddReplicasPlanActionTest.testSimple to get log failure
2018-12-11 10:31:59 +00:00
Cao Manh Dat
d26c237e35
Remove BadApple for TestSimTriggerIntegration.testListeners to get log failure
2018-12-11 09:53:58 +00:00
Noble Paul
c651cbfd9a
SOLR-12885: BinaryResponseWriter (javabin format) should directly copy from BytesRef to output
2018-12-11 18:35:57 +11:00
Chris Hostetter
a2199c72d4
SOLR-13050: add workaround for issue to SystemLogListenerTest
...
make sure the node we kill isn't the .system collection leader
2018-12-10 19:06:42 -07:00
Jason Gerlowski
f89f109ec1
SOLR-13045: Harden TestSimPolicyCloud
...
This commit fixes a race condition in SimClusterStateProvider, fixing
several fails in TestSimPolicyCloud.
2018-12-10 17:39:12 -05:00
Cao Manh Dat
af6e15e838
SOLR-13053: NodeAddedTrigger and NodeLostTrigger do not reserve added/removed time populated by restoreState
2018-12-10 20:08:07 +00:00
markrmiller
d96475a0bb
SOLR-12801: Fix TestSolrCloudWithKerberosAlt.
2018-12-10 11:46:34 -06:00
markrmiller
202dad8c88
SOLR-12923: Harden TestSimLargeCluster.
2018-12-10 10:02:58 -06:00
markrmiller
a1657616bb
SOLR-12923: Harden TestSimTriggerIntegration.
2018-12-10 10:02:58 -06:00
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