- AbstractNumericTestCase - Class in org.elasticsearch.search.aggregations.metrics
-
- AbstractNumericTestCase() - Constructor for class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- AbstractTermsTestCase - Class in org.elasticsearch.search.aggregations.bucket
-
- AbstractTermsTestCase() - Constructor for class org.elasticsearch.search.aggregations.bucket.AbstractTermsTestCase
-
- accessed(long) - Method in class org.elasticsearch.test.TestSearchContext
-
- action - Variable in class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
- activeDisruption - Variable in class org.elasticsearch.test.disruption.NetworkPartition
-
- addBody(Map<String, Object>) - Method in class org.elasticsearch.test.rest.section.ApiCallSection
-
- addDelegate(TransportService, MockTransportService.DelegateTransport) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a new delegate transport that is used for communication with the given transport service.
- addDelegate(TransportAddress, MockTransportService.DelegateTransport) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a new delegate transport that is used for communication with the given transport address.
- addDoSection(DoSection) - Method in class org.elasticsearch.test.rest.section.SetupSection
-
- addExecutableSection(ExecutableSection) - Method in class org.elasticsearch.test.rest.section.TestSection
-
- addFailToSendNoConnectRule(TransportService) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause every send request to fail, and each new connect since the rule
is added to fail as well.
- addFailToSendNoConnectRule(TransportAddress) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause every send request to fail, and each new connect since the rule
is added to fail as well.
- addFailToSendNoConnectRule(TransportService, String...) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause matching operations to throw ConnectTransportExceptions
- addFailToSendNoConnectRule(TransportAddress, String...) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause matching operations to throw ConnectTransportExceptions
- addFailToSendNoConnectRule(TransportService, Set<String>) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause matching operations to throw ConnectTransportExceptions
- addFailToSendNoConnectRule(TransportAddress, Set<String>) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause matching operations to throw ConnectTransportExceptions
- addHeader(String, String) - Method in class org.elasticsearch.test.rest.client.http.HttpRequestBuilder
-
- addHeader(String, String) - Method in class org.elasticsearch.test.rest.section.ApiCallSection
-
- addHeaders(Map<String, String>) - Method in class org.elasticsearch.test.rest.client.http.HttpRequestBuilder
-
- addHeaders(Map<String, String>) - Method in class org.elasticsearch.test.rest.section.ApiCallSection
-
- additionalSettings() - Method in class org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
-
- additionalSettings() - Method in class org.elasticsearch.test.transport.AssertingLocalTransport.TestPlugin
-
- additionalSettings() - Method in class org.elasticsearch.test.transport.MockTransportService.TestPlugin
-
- addLifecycleListener(LifecycleListener) - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- addLifecycleListener(LifecycleListener) - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- addListener(MockTaskManagerListener) - Method in class org.elasticsearch.test.tasks.MockTaskManager
-
- addParam(String, String) - Method in class org.elasticsearch.test.rest.client.http.HttpRequestBuilder
-
- addParam(String, String) - Method in class org.elasticsearch.test.rest.section.ApiCallSection
-
- addRandomField(Random, IngestDocument, Object) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Adds a random non existing field to the provided document and associates it
with the provided value.
- addRescore(RescoreSearchContext) - Method in class org.elasticsearch.test.TestSearchContext
-
- addressesFromString(String, int) - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- addressesFromString(String, int) - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- addressSupported(Class<? extends TransportAddress>) - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- addressSupported(Class<? extends TransportAddress>) - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- addSecretInput(String) - Method in class org.elasticsearch.cli.MockTerminal
-
- addSet(String, String) - Method in class org.elasticsearch.test.rest.section.SetSection
-
- addTestSection(TestSection) - Method in class org.elasticsearch.test.rest.section.RestTestSuite
-
- addTextInput(String) - Method in class org.elasticsearch.cli.MockTerminal
-
- addTracer(MockTransportService.Tracer) - Method in class org.elasticsearch.test.transport.MockTransportService
-
- addUnresponsiveRule(TransportService) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause ignores each send request, simulating an unresponsive node
and failing to connect once the rule was added.
- addUnresponsiveRule(TransportAddress) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause ignores each send request, simulating an unresponsive node
and failing to connect once the rule was added.
- addUnresponsiveRule(TransportService, TimeValue) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause ignores each send request, simulating an unresponsive node
and failing to connect once the rule was added.
- addUnresponsiveRule(TransportAddress, TimeValue) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Adds a rule that will cause ignores each send request, simulating an unresponsive node
and failing to connect once the rule was added.
- admin() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a random admin client.
- advanceToFieldName() - Method in class org.elasticsearch.test.rest.parser.RestTestSuiteParseContext
-
- after() - Method in class org.elasticsearch.test.ESIntegTestCase
-
- afterClass() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
- afterIfFailed(List<Throwable>) - Method in class org.elasticsearch.test.ESTestCase
-
called when a test fails, supplying the errors it generated
- afterIfFailed(List<Throwable>) - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
- afterIfSuccessful() - Method in class org.elasticsearch.test.ESTestCase
-
called after a test is finished, but only if successful
- afterIndexClosed(Index, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- afterIndexCreated(IndexService) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- afterIndexDeleted(Index, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- afterIndexShardClosed(ShardId, IndexShard, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- afterIndexShardCreated(IndexShard) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- afterIndexShardDeleted(ShardId, Settings) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- afterIndexShardStarted(IndexShard) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- afterInternal(boolean) - Method in class org.elasticsearch.test.ESIntegTestCase
-
- afterTest() - Method in class org.elasticsearch.test.CompositeTestCluster
-
- afterTest() - Method in class org.elasticsearch.test.ExternalTestCluster
-
- afterTest() - Method in class org.elasticsearch.test.InternalTestCluster
-
- afterTest() - Method in class org.elasticsearch.test.TestCluster
-
This method should be executed during tear down, after each test (but after assertAfterTest)
- aggregations() - Method in class org.elasticsearch.test.TestSearchContext
-
- aggregations(SearchContextAggregations) - Method in class org.elasticsearch.test.TestSearchContext
-
- aliasFilter() - Method in class org.elasticsearch.test.TestSearchContext
-
- allocateUnassigned(RoutingAllocation) - Method in class org.elasticsearch.test.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
-
- allocateUnassigned(RoutingAllocation) - Method in class org.elasticsearch.test.gateway.NoopGatewayAllocator
-
- allowNodes(String, int) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Restricts the given index to be allocated on n
nodes using the allocation deciders.
- allowOnAllNodes(String...) - Method in class org.elasticsearch.test.CompositeTestCluster
-
Allows allocation of shards of the given indices on all nodes in the cluster.
- allowOnlyNewNodes(String...) - Method in class org.elasticsearch.test.CompositeTestCluster
-
Allows allocation of shards of the given indices only on "new" nodes in the cluster.
- allVersions() - Static method in class org.elasticsearch.test.VersionUtils
-
Returns immutable list of all known versions.
- analysisService() - Method in class org.elasticsearch.test.TestSearchContext
-
- ApiCallSection - Class in org.elasticsearch.test.rest.section
-
Represents a test fragment that contains the information needed to call an api
- ApiCallSection(String) - Constructor for class org.elasticsearch.test.rest.section.ApiCallSection
-
- appendAllOpts(Description) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
-
- appendEnvironmentSettings() - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
-
- appendESProperties() - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
-
- appendOpt(String, String) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
-
Append a single VM option.
- appendProperties(String...) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
-
- appendRestTestsProperties() - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
-
- applyFailedShards(FailedRerouteAllocation) - Method in class org.elasticsearch.test.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
-
- applyFailedShards(FailedRerouteAllocation) - Method in class org.elasticsearch.test.gateway.NoopGatewayAllocator
-
- applyStartedShards(StartedRerouteAllocation) - Method in class org.elasticsearch.test.ESAllocationTestCase.DelayedShardsMockGatewayAllocator
-
- applyStartedShards(StartedRerouteAllocation) - Method in class org.elasticsearch.test.gateway.NoopGatewayAllocator
-
- applyToCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- applyToCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- applyToCluster(InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- applyToCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- applyToNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- applyToNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- applyToNode(String, InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- applyToNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- areAllSupported(List<String>) - Static method in class org.elasticsearch.test.rest.support.Features
-
Tells whether all the features provided as argument are supported
- assertAcked(AcknowledgedRequestBuilder<?, ?, ?>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertAcked(AcknowledgedResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertAcked(DeleteIndexRequestBuilder) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertAcked(DeleteIndexResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertAfterTest() - Method in class org.elasticsearch.test.InternalTestCluster
-
- assertAfterTest() - Method in class org.elasticsearch.test.TestCluster
-
This method checks all the things that need to be checked after each test
- assertAliasesExist(AliasesExistResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert that aliases exist
- assertAliasesMissing(AliasesExistResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert that aliases are missing
- assertAllShardsOnNodes(String, String) - Method in class org.elasticsearch.test.ESBackcompatTestCase
-
- assertAllShardsOnNodes(String, String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Asserts that all shards are allocated on nodes matching the given node pattern.
- assertAllSuccessful(BroadcastResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertAllSuccessful(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertArrayEquals(StackTraceElement[], StackTraceElement[]) - Static method in class org.elasticsearch.test.ESTestCase
-
Compares two stack traces, ignoring module (which is not yet serialized)
- assertBinding(Module, Class, Class) - Method in class org.elasticsearch.common.inject.ModuleTestCase
-
Configures the module and asserts "clazz" is bound to "to".
- assertBindingFailure(Module, String...) - Method in class org.elasticsearch.common.inject.ModuleTestCase
-
Attempts to configure the module, and asserts an IllegalArgumentException
is
caught, containing the given messages
- assertBlocked(ActionRequestBuilder) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Executes the request and fails if the request has not been blocked.
- assertBlocked(BroadcastResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Checks that all shard requests of a replicated broadcast request failed due to a cluster block
- assertBlocked(ActionRequestBuilder, ClusterBlock) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Executes the request and fails if the request has not been blocked by a specific ClusterBlock
.
- assertBooleanSubQuery(Query, Class<T>, int) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertBusy(Runnable) - Static method in class org.elasticsearch.test.ESTestCase
-
Runs the code block for 10 seconds waiting for no assertion to trip.
- assertBusy(Runnable, long, TimeUnit) - Static method in class org.elasticsearch.test.ESTestCase
-
- assertBusy(Callable<V>) - Static method in class org.elasticsearch.test.ESTestCase
-
Runs the code block for 10 seconds waiting for no assertion to trip.
- assertBusy(Callable<V>, long, TimeUnit) - Static method in class org.elasticsearch.test.ESTestCase
-
Runs the code block for the provided interval, waiting for no assertions to trip.
- assertConcreteMappingsOnAll(String, String, String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits till a (pattern) field name mappings concretely exists on all nodes.
- assertDirectoryExists(Path) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Check if a directory exists
- assertEquals(StackTraceElement, StackTraceElement) - Static method in class org.elasticsearch.test.ESTestCase
-
Compares two stack trace elements, ignoring module (which is not yet serialized)
- assertExists(GetResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertFailures(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertFailures(SearchRequestBuilder, RestStatus, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertFailures(PercolateResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertFifthHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertFileContent(Path, String, String) - Static method in class org.elasticsearch.common.io.FileTestUtils
-
Check that a file contains a given String
- assertFileExists(Path) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Check if a file exists
- assertFileNotExists(Path) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Check if a file does not exist
- assertFirstHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertFourthHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertHighlight(SearchResponse, int, String, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertHighlight(SearchResponse, int, String, int, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertHighlight(SearchHit, String, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertHighlight(SearchHit, String, int, int, Matcher<String>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertHitCount(SearchResponse, long) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertIndexTemplateExists(GetIndexTemplatesResponse, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert that an index template exists
- assertIndexTemplateMissing(GetIndexTemplatesResponse, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert that an index template is missing
- ASSERTING_TRANSPORT_MAX_VERSION_KEY - Static variable in class org.elasticsearch.test.transport.AssertingLocalTransport
-
- ASSERTING_TRANSPORT_MIN_VERSION_KEY - Static variable in class org.elasticsearch.test.transport.AssertingLocalTransport
-
- AssertingLocalTransport - Class in org.elasticsearch.test.transport
-
- AssertingLocalTransport(Settings, CircuitBreakerService, ThreadPool, Version, NamedWriteableRegistry) - Constructor for class org.elasticsearch.test.transport.AssertingLocalTransport
-
- AssertingLocalTransport.TestPlugin - Class in org.elasticsearch.test.transport
-
- assertInstanceBinding(Module, Class<T>, Predicate<T>) - Method in class org.elasticsearch.common.inject.ModuleTestCase
-
Configures the module, and ensures an instance is bound to the "to" class, and the
provided tester returns true on the instance.
- assertInstanceBindingWithAnnotation(Module, Class<T>, Predicate<T>, Class<? extends Annotation>) - Method in class org.elasticsearch.common.inject.ModuleTestCase
-
- Assertion - Class in org.elasticsearch.test.rest.section
-
Base class for executable sections that hold assertions
- Assertion(String, Object) - Constructor for class org.elasticsearch.test.rest.section.Assertion
-
- assertionsEnabled() - Static method in class org.elasticsearch.test.ESTestCase
-
Returns true iff assertions for elasticsearch packages are enabled
- assertMapInstanceBinding(Module, Class<K>, Class<V>, Map<K, V>) - Method in class org.elasticsearch.common.inject.ModuleTestCase
-
Configures the module, and ensures a map exists between the "keyType" and "valueType",
and that all of the "expected" values are bound.
- assertMapMultiBinding(Module, Class, Class) - Method in class org.elasticsearch.common.inject.ModuleTestCase
-
Configures the module and checks a Map<String, Class> of the "to" class
is bound to "theClass".
- assertMappingOnMaster(String, String, String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for the given mapping type to exists on the master node.
- assertMatchCount(PercolateResponse, long) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertNoFailures() - Method in class org.elasticsearch.test.BackgroundIndexer
-
- assertNoFailures(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertNoFailures(BulkResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertNoFailures(BroadcastResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertNoInFlightContext() - Static method in class org.elasticsearch.search.MockSearchService
-
Throw an AssertionError
if there are still in-flight contexts.
- assertNoSearchHits(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertNotBound(Module, Class) - Method in class org.elasticsearch.common.inject.ModuleTestCase
-
Configures the module and asserts "clazz" is not bound to anything.
- assertNotHighlighted(SearchResponse, int, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertNoTimeout(ClusterHealthRequestBuilder) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertNoTimeout(ClusterHealthResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertOrderedSearchHits(SearchResponse, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertPathHasBeenCleared(String) - Method in class org.elasticsearch.test.ESTestCase
-
Asserts that there are no files in the specified path
- assertPathHasBeenCleared(Path) - Method in class org.elasticsearch.test.ESTestCase
-
Asserts that there are no files in the specified path
- assertResultsAndLogOnFailure(long, SearchResponse) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the result counts are as expected, and logs the results if different
- assertSearchHit(SearchResponse, int, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertSearchHit(SearchHit, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertSearchHits(SearchResponse, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertSearchResponse(SearchRequestBuilder) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Applies basic assertions on the SearchResponse.
- assertSearchResponse(SearchResponse) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Applies basic assertions on the SearchResponse.
- assertSecondHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertSetMultiBinding(Module, Class, Class...) - Method in class org.elasticsearch.common.inject.ModuleTestCase
-
Configures the module and checks a Set of the "to" class
is bound to "classes".
- assertSortValues(SearchResponse, Object[]...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertSuggestion(Suggest, int, int, String, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertSuggestion(Suggest, int, String, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert suggestion returns exactly the provided text.
- assertSuggestion(Suggest, int, String, int, String...) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Assert suggestion returns size suggestions and the first are the provided
text.
- assertSuggestionPhraseCollateMatchExists(Suggest, String, int) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertSuggestionSize(Suggest, int, int, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertThirdHit(SearchResponse, Matcher<SearchHit>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertThrows(ActionRequestBuilder<?, ?, ?>, Class<E>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run the request from a given builder and check that it throws an exception of the right type
- assertThrows(ActionRequestBuilder<?, ?, ?>, Class<E>, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run the request from a given builder and check that it throws an exception of the right type, with a given RestStatus
- assertThrows(ActionRequestBuilder<?, ?, ?>, Class<E>, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run the request from a given builder and check that it throws an exception of the right type
- assertThrows(ActionFuture, Class<E>) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run future.actionGet() and check that it throws an exception of the right type
- assertThrows(ActionFuture, Class<E>, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run future.actionGet() and check that it throws an exception of the right type, with a given RestStatus
- assertThrows(ActionFuture, Class<E>, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run future.actionGet() and check that it throws an exception of the right type
- assertThrows(ActionFuture, Class<E>, RestStatus, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
Run future.actionGet() and check that it throws an exception of the right type, optionally checking the exception's rest status
- assertThrows(ActionRequestBuilder<?, ?, ?>, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertThrows(ActionRequestBuilder<?, ?, ?>, RestStatus, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertThrows(ActionFuture, RestStatus) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertThrows(ActionFuture, RestStatus, String) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertVersionSerializable(Streamable) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertVersionSerializable(Version, Streamable) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertVersionSerializable(Version, Streamable, NamedWriteableRegistry) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- assertVersionSerializable(Version, Throwable) - Static method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- await() - Method in class org.elasticsearch.test.rest.FakeRestChannel
-
- awaitBusy(BooleanSupplier) - Static method in class org.elasticsearch.test.ESTestCase
-
- awaitBusy(BooleanSupplier, long, TimeUnit) - Static method in class org.elasticsearch.test.ESTestCase
-
- callApi(String, Map<String, String>, String, Map<String, String>) - Method in class org.elasticsearch.test.rest.client.RestClient
-
Calls an api with the provided parameters and body
- callApi(String, Map<String, String>, List<Map<String, Object>>, Map<String, String>) - Method in class org.elasticsearch.test.rest.RestTestExecutionContext
-
Calls an elasticsearch api with the parameters and request body provided as arguments.
- canAddField(String, IngestDocument) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Checks whether the provided field name can be safely added to the provided document.
- canAllocate(ShardRouting, RoutingNode, RoutingAllocation) - Method in class org.elasticsearch.test.ESAllocationTestCase.TestAllocateDecision
-
- canAllocate(ShardRouting, RoutingAllocation) - Method in class org.elasticsearch.test.ESAllocationTestCase.TestAllocateDecision
-
- canAllocate(RoutingNode, RoutingAllocation) - Method in class org.elasticsearch.test.ESAllocationTestCase.TestAllocateDecision
-
- CapturedRequest(DiscoveryNode, long, String, TransportRequest) - Constructor for class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
- capturedRequests() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
returns all requests captured so far.
- capturedRequestsByTargetNode() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
returns all requests captured so far, grouped by target node.
- CapturingTransport - Class in org.elasticsearch.test.transport
-
A transport class that doesn't send anything but rather captures all requests for inspection from tests
- CapturingTransport() - Constructor for class org.elasticsearch.test.transport.CapturingTransport
-
- CapturingTransport.CapturedRequest - Class in org.elasticsearch.test.transport
-
- check(Path) - Method in class org.elasticsearch.test.NamingConventionsCheck
-
- checkIndex(ESLogger, Store, ShardId) - Static method in class org.elasticsearch.test.store.MockFSDirectoryService
-
- checkIndexFailed - Static variable in class org.elasticsearch.test.ESTestCase
-
MockFSDirectoryService sets this:
- clear() - Method in class org.elasticsearch.test.rest.RestTestExecutionContext
-
Clears the last obtained response and the stashed fields
- clear() - Method in class org.elasticsearch.test.rest.Stash
-
Clears the previously stashed values
- clear() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
clears captured requests
- clearAllRules() - Method in class org.elasticsearch.test.transport.MockTransportService
-
Clears all the registered rules.
- clearData(String) - Method in class org.elasticsearch.test.InternalTestCluster.RestartCallback
-
If this returns true
all data for the node with the given node name will be cleared including
gateways and all index data.
- clearDisruptionScheme() - Method in class org.elasticsearch.test.ESIntegTestCase
-
- clearDisruptionScheme() - Method in class org.elasticsearch.test.InternalTestCluster
-
- clearRule(TransportService) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Clears the rule associated with the provided transport service.
- clearRule(TransportAddress) - Method in class org.elasticsearch.test.transport.MockTransportService
-
Clears the rule associated with the provided transport address.
- clearScroll(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Clears the given scroll Ids
- clearTracers() - Method in class org.elasticsearch.test.transport.MockTransportService
-
- client() - Method in class org.elasticsearch.test.CompositeTestCluster
-
- client() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
- client(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
- client() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Returns a client to the single-node cluster.
- client() - Method in class org.elasticsearch.test.ExternalTestCluster
-
- client() - Method in class org.elasticsearch.test.InternalTestCluster
-
- client(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a node client to a given node.
- client(Predicate<Settings>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a random node that applies to the given predicate.
- client() - Method in class org.elasticsearch.test.TestCluster
-
Returns a client connected to any node in the cluster
- clients() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
- clone() - Method in class org.elasticsearch.index.mapper.MockFieldMapper.FakeFieldType
-
- close() - Method in class org.elasticsearch.script.MockScriptEngine
-
- close() - Method in class org.elasticsearch.test.BackgroundIndexer
-
- close() - Method in class org.elasticsearch.test.client.NoOpClient
-
- close() - Method in class org.elasticsearch.test.CompositeTestCluster
-
- close() - Method in class org.elasticsearch.test.ExternalTestCluster
-
- close() - Method in class org.elasticsearch.test.InternalTestCluster
-
- close() - Method in class org.elasticsearch.test.PosixPermissionsResetter
-
- close() - Method in class org.elasticsearch.test.rest.client.RestClient
-
Closes the REST client and the underlying http client
- close() - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
- close() - Method in class org.elasticsearch.test.rest.RestTestExecutionContext
-
Closes the execution context and releases the underlying resources
- close() - Method in class org.elasticsearch.test.TestCluster
-
Closes the current cluster
- close() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- close() - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- closeInternal() - Method in class org.elasticsearch.test.DummyShardLock
-
- closeNonSharedNodes(boolean) - Method in class org.elasticsearch.test.InternalTestCluster
-
- cluster - Variable in class org.elasticsearch.test.disruption.NetworkPartition
-
- cluster - Variable in class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- cluster() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
- ClusterDiscoveryConfiguration - Class in org.elasticsearch.test.discovery
-
- ClusterDiscoveryConfiguration(int, Settings) - Constructor for class org.elasticsearch.test.discovery.ClusterDiscoveryConfiguration
-
- ClusterDiscoveryConfiguration.UnicastZen - Class in org.elasticsearch.test.discovery
-
- clusterName(String, long) - Static method in class org.elasticsearch.test.InternalTestCluster
-
- clusterService() - Method in class org.elasticsearch.test.ESIntegTestCase
-
- clusterService() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a reference to a random node's ClusterService
- clusterService(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a reference to a node's ClusterService
.
- CollectionAssertions - Class in org.elasticsearch.test.hamcrest
-
Assertions for easier handling of our custom collections,
for example ImmutableOpenMap
- CollectionAssertions() - Constructor for class org.elasticsearch.test.hamcrest.CollectionAssertions
-
- CollectionMatchers - Class in org.elasticsearch.test.hamcrest
-
Matchers for easier handling of our custom collections,
for example ImmutableOpenMap
- CollectionMatchers() - Constructor for class org.elasticsearch.test.hamcrest.CollectionMatchers
-
- CollectionMatchers.ImmutableOpenMapHasKeyMatcher - Class in org.elasticsearch.test.hamcrest
-
- command - Variable in class org.elasticsearch.cli.CommandTestCase
-
The last command that was executed.
- CommandTestCase - Class in org.elasticsearch.cli
-
A base test case for cli tools.
- CommandTestCase() - Constructor for class org.elasticsearch.cli.CommandTestCase
-
- commonNodeSettings(int) - Method in class org.elasticsearch.test.ESBackcompatTestCase
-
- compareTo(TestSection) - Method in class org.elasticsearch.test.rest.section.TestSection
-
- compatibilityVersion() - Method in class org.elasticsearch.test.ESBackcompatTestCase
-
Retruns the tests compatibility version.
- compile(String) - Method in class org.elasticsearch.ingest.TestTemplateService
-
- compile(String, Map<String, String>) - Method in class org.elasticsearch.script.MockScriptEngine
-
- CompositeTestCluster - Class in org.elasticsearch.test
-
A test cluster implementation that holds a fixed set of external nodes as well as a InternalTestCluster
which is used to run mixed version clusters in tests like backwards compatibility tests.
- CompositeTestCluster(InternalTestCluster, int, ExternalNode) - Constructor for class org.elasticsearch.test.CompositeTestCluster
-
- configure() - Method in class org.elasticsearch.index.MockEngineFactoryPlugin.MockEngineReaderModule
-
- configure() - Method in class org.elasticsearch.test.IndexSettingsModule
-
- configuredNodeMode() - Static method in class org.elasticsearch.test.InternalTestCluster
-
- connectToNode(DiscoveryNode) - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- connectToNode(DiscoveryNode) - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- connectToNodeLight(DiscoveryNode) - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- connectToNodeLight(DiscoveryNode) - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- content() - Method in class org.elasticsearch.test.rest.FakeRestRequest
-
- contentType() - Method in class org.elasticsearch.index.mapper.MockFieldMapper
-
- continueIndexing() - Method in class org.elasticsearch.test.BackgroundIndexer
-
Continue indexing after it has paused.
- continueIndexing(int) - Method in class org.elasticsearch.test.BackgroundIndexer
-
Continue indexing after it has paused.
- convertFromTextArray(PercolateResponse.Match[], String) - Static method in class org.elasticsearch.percolator.PercolatorTestUtil
-
- convertToMap(ToXContent) - Static method in class org.elasticsearch.test.XContentTestUtils
-
- coordOnlyNodeClient() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a client to a coordinating only node
- copyToBytesFromClasspath(String) - Static method in class org.elasticsearch.test.StreamsUtils
-
- copyToStringFromClasspath(ClassLoader, String) - Static method in class org.elasticsearch.test.StreamsUtils
-
- copyToStringFromClasspath(String) - Static method in class org.elasticsearch.test.StreamsUtils
-
- corruptFile(Random, Path...) - Static method in class org.elasticsearch.test.CorruptionUtils
-
Corrupts a random file at a random position
- CorruptionUtils - Class in org.elasticsearch.test
-
- crash() - Method in class org.elasticsearch.test.store.MockFSDirectoryService.ElasticsearchMockDirectoryWrapper
-
- CRASH_INDEX_SETTING - Static variable in class org.elasticsearch.test.store.MockFSDirectoryService
-
- createAdapter() - Method in class org.elasticsearch.test.transport.MockTransportService
-
- createAllocationService() - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- createAllocationService(Settings) - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- createAllocationService(Settings, Random) - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- createAllocationService(Settings, ClusterSettings, Random) - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- createAllocationService(Settings, ClusterInfoService) - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- createAllocationService(Settings, GatewayAllocator) - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- createAnalysisService(Index, Settings, Consumer<AnalysisModule>...) - Static method in class org.elasticsearch.test.ESTestCase
-
Creates an AnalysisService to test analysis factories and analyzers.
- createAnalysisService(Index, Settings, Settings, Consumer<AnalysisModule>...) - Static method in class org.elasticsearch.test.ESTestCase
-
Creates an AnalysisService to test analysis factories and analyzers.
- createHttpClient(Settings) - Method in class org.elasticsearch.test.rest.client.RestClient
-
- createIndex(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Creates one or more indices and asserts that the indices are acknowledged.
- createIndex(String) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new index on the singleton node with empty index settings.
- createIndex(String, Settings) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new index on the singleton node with the provided index settings.
- createIndex(String, Settings, String, XContentBuilder) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new index on the singleton node with the provided index settings.
- createIndex(String, Settings, String, Object...) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new index on the singleton node with the provided index settings.
- createIndex(String, CreateIndexRequestBuilder) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
- createParameters(int, int) - Static method in class org.elasticsearch.test.rest.ESRestTestCase
-
- createSearchContext(IndexService) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Create a new search context.
- createTaskManager() - Method in class org.elasticsearch.test.transport.MockTransportService
-
- currentNanoTime() - Method in class org.elasticsearch.test.ESAllocationTestCase.MockAllocationService
-
- ElasticsearchAssertions - Class in org.elasticsearch.test.hamcrest
-
- ElasticsearchAssertions() - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchAssertions
-
- ElasticsearchAssertions.ThrowableWrapper - Class in org.elasticsearch.test.hamcrest
-
- ElasticsearchMatchers - Class in org.elasticsearch.test.hamcrest
-
- ElasticsearchMatchers() - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchMatchers
-
- ElasticsearchMatchers.HttpResponseHasStatusMatcher - Class in org.elasticsearch.test.hamcrest
-
- ElasticsearchMatchers.SearchHitHasIdMatcher - Class in org.elasticsearch.test.hamcrest
-
- ElasticsearchMatchers.SearchHitHasIndexMatcher - Class in org.elasticsearch.test.hamcrest
-
- ElasticsearchMatchers.SearchHitHasScoreMatcher - Class in org.elasticsearch.test.hamcrest
-
- ElasticsearchMatchers.SearchHitHasTypeMatcher - Class in org.elasticsearch.test.hamcrest
-
- ElasticsearchMockDirectoryWrapper(Random, Directory, boolean) - Constructor for class org.elasticsearch.test.store.MockFSDirectoryService.ElasticsearchMockDirectoryWrapper
-
- EMPTY - Static variable in class org.elasticsearch.test.NodeConfigurationSource
-
- EMPTY - Static variable in class org.elasticsearch.test.rest.section.SetupSection
-
- EMPTY - Static variable in class org.elasticsearch.test.rest.section.SkipSection
-
- EMPTY - Static variable in class org.elasticsearch.test.rest.Stash
-
- EMPTY_CALLBACK - Static variable in class org.elasticsearch.test.InternalTestCluster
-
- emptyFieldNames() - Method in class org.elasticsearch.test.TestSearchContext
-
- enableAllocation(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for enabling allocation for indices
- enableIndexBlock(String, String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Enables an index block for the specified index
- ensureAllArraysAreReleased() - Static method in class org.elasticsearch.common.util.MockBigArrays
-
- ensureAllPagesAreReleased() - Static method in class org.elasticsearch.cache.recycler.MockPageCacheRecycler
-
- ensureAllSearchContextsReleased() - Method in class org.elasticsearch.test.ESTestCase
-
- ensureAtLeastNumDataNodes(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
Ensures that at least n
data nodes are present in the cluster.
- ensureAtMostNumDataNodes(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
Ensures that at most n
are up and running.
- ensureCheckIndexPassed() - Method in class org.elasticsearch.test.ESTestCase
-
- ensureCleanedUp() - Method in class org.elasticsearch.test.ESTestCase
-
- ensureClusterStateConsistency() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Verifies that all nodes that have the same version of the cluster state as master have same cluster state
- ensureEstimatedStats() - Method in class org.elasticsearch.test.CompositeTestCluster
-
- ensureEstimatedStats() - Method in class org.elasticsearch.test.ExternalTestCluster
-
- ensureEstimatedStats() - Method in class org.elasticsearch.test.InternalTestCluster
-
- ensureEstimatedStats() - Method in class org.elasticsearch.test.TestCluster
-
Ensures that any breaker statistics are reset to 0.
- ensureGreen(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster has a green state via the cluster health API.
- ensureGreen(TimeValue, String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster has a green state via the cluster health API.
- ensureGreen(String...) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Ensures the cluster has a green state via the cluster health API.
- ensureGreen(TimeValue, String...) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Ensures the cluster has a green state via the cluster health API.
- ensureInitialized() - Static method in class org.elasticsearch.bootstrap.BootstrapForTesting
-
- ensureNodeCount(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- ensureNodeCount(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- ensureSearchable(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster is in a searchable state for the given indices.
- ensureStableCluster(int) - Method in class org.elasticsearch.test.ESIntegTestCase
-
- ensureStableCluster(int, TimeValue) - Method in class org.elasticsearch.test.ESIntegTestCase
-
- ensureStableCluster(int, String) - Method in class org.elasticsearch.test.ESIntegTestCase
-
- ensureStableCluster(int, TimeValue, boolean, String) - Method in class org.elasticsearch.test.ESIntegTestCase
-
- ensureYellow(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Ensures the cluster has a yellow state via the cluster health API.
- equals(Object) - Method in class org.elasticsearch.test.rest.section.TestSection
-
- equals(Object) - Method in class org.elasticsearch.test.TestCustomMetaData
-
- errors() - Method in class org.elasticsearch.test.rest.FakeRestChannel
-
- ESAllocationTestCase - Class in org.elasticsearch.test
-
- ESAllocationTestCase() - Constructor for class org.elasticsearch.test.ESAllocationTestCase
-
- ESAllocationTestCase.DelayedShardsMockGatewayAllocator - Class in org.elasticsearch.test
-
Mocks behavior in ReplicaShardAllocator to remove delayed shards from list of unassigned shards so they don't get reassigned yet.
- ESAllocationTestCase.MockAllocationService - Class in org.elasticsearch.test
-
A lock AllocationService
allowing tests to override time
- ESAllocationTestCase.TestAllocateDecision - Class in org.elasticsearch.test
-
- ESBackcompatTestCase - Class in org.elasticsearch.test
-
Abstract base class for backwards compatibility tests.
- ESBackcompatTestCase() - Constructor for class org.elasticsearch.test.ESBackcompatTestCase
-
- ESBackcompatTestCase.Backwards - Annotation Type in org.elasticsearch.test
-
Annotation for backwards compat tests
- ESBackcompatTestCase.CompatibilityVersion - Annotation Type in org.elasticsearch.test
-
- ESIntegTestCase - Class in org.elasticsearch.test
-
ESIntegTestCase
is an abstract base class to run integration
tests against a JVM private Elasticsearch Cluster.
- ESIntegTestCase() - Constructor for class org.elasticsearch.test.ESIntegTestCase
-
- ESIntegTestCase.ClusterScope - Annotation Type in org.elasticsearch.test
-
- ESIntegTestCase.NumShards - Class in org.elasticsearch.test
-
- ESIntegTestCase.Scope - Enum in org.elasticsearch.test
-
- ESIntegTestCase.SuiteScopeTestCase - Annotation Type in org.elasticsearch.test
-
If a test is annotated with
ESIntegTestCase.SuiteScopeTestCase
the checks and modifications that are applied to the used test cluster are only done after all tests
of this class are executed.
- ESIntegTestCase.SuppressLocalMode - Annotation Type in org.elasticsearch.test
-
If used the test will never run in local mode.
- ESIntegTestCase.SuppressNetworkMode - Annotation Type in org.elasticsearch.test
-
If used the test will never run in network mode
- ESIntegTestCase.TestSeedPlugin - Class in org.elasticsearch.test
-
- ESIntegTestCase.ThirdParty - Annotation Type in org.elasticsearch.test
-
Annotation for third-party integration tests.
- ESRestTestCase - Class in org.elasticsearch.test.rest
-
Runs the clients test suite against an elasticsearch cluster.
- ESRestTestCase(RestTestCandidate) - Constructor for class org.elasticsearch.test.rest.ESRestTestCase
-
- ESSingleNodeTestCase - Class in org.elasticsearch.test
-
A test that keep a singleton node started for all tests that can be used to get
references to Guice injectors in unit tests.
- ESSingleNodeTestCase() - Constructor for class org.elasticsearch.test.ESSingleNodeTestCase
-
- ESTestCase - Class in org.elasticsearch.test
-
Base testcase for randomized unit testing with Elasticsearch
- ESTestCase() - Constructor for class org.elasticsearch.test.ESTestCase
-
- ESTokenStreamTestCase - Class in org.elasticsearch.test
-
- ESTokenStreamTestCase() - Constructor for class org.elasticsearch.test.ESTokenStreamTestCase
-
- esVersion() - Method in class org.elasticsearch.test.rest.RestTestExecutionContext
-
Returns the current es version as a string
- evaluate(String) - Method in class org.elasticsearch.test.rest.client.RestResponse
-
Parses the response body as json and extracts a specific value from it (identified by the provided path)
- evaluate(String, Stash) - Method in class org.elasticsearch.test.rest.client.RestResponse
-
Parses the response body as json and extracts a specific value from it (identified by the provided path)
- evaluate(String) - Method in class org.elasticsearch.test.rest.json.JsonPath
-
Returns the object corresponding to the provided path if present, null otherwise
- evaluate(String, Stash) - Method in class org.elasticsearch.test.rest.json.JsonPath
-
Returns the object corresponding to the provided path if present, null otherwise
- excludeTemplates() - Method in class org.elasticsearch.test.ESIntegTestCase
-
- executable(CompiledScript, Map<String, Object>) - Method in class org.elasticsearch.script.MockScriptEngine
-
- ExecutableSection - Interface in org.elasticsearch.test.rest.section
-
Represents a test fragment that can be executed (e.g.
- execute(String...) - Method in class org.elasticsearch.cli.CommandTestCase
-
Runs the command with the given args.
- execute(IngestDocument) - Method in class org.elasticsearch.ingest.TestProcessor
-
- execute(Map<String, Object>) - Method in class org.elasticsearch.ingest.TestTemplateService.MockTemplate
-
- execute() - Method in class org.elasticsearch.test.rest.client.http.HttpRequestBuilder
-
- execute(RestTestExecutionContext) - Method in class org.elasticsearch.test.rest.section.Assertion
-
- execute(RestTestExecutionContext) - Method in class org.elasticsearch.test.rest.section.DoSection
-
- execute(RestTestExecutionContext) - Method in interface org.elasticsearch.test.rest.section.ExecutableSection
-
Executes the section passing in the execution context
- execute(RestTestExecutionContext) - Method in class org.elasticsearch.test.rest.section.SetSection
-
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.BlockClusterStateProcessing
-
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.LongGCDisruption
-
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.NetworkDelaysPartition
-
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.NetworkDisconnectPartition
-
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.NetworkUnresponsivePartition
-
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- expectedTimeToHeal() - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- expectedTimeToHeal() - Method in class org.elasticsearch.test.disruption.SlowClusterStateProcessing
-
- explain() - Method in class org.elasticsearch.test.TestSearchContext
-
- explain(boolean) - Method in class org.elasticsearch.test.TestSearchContext
-
- EXTERNAL_CLUSTER_PREFIX - Static variable in class org.elasticsearch.test.ExternalTestCluster
-
- externalClusterClientSettings() - Method in class org.elasticsearch.test.ESIntegTestCase
-
- externalNodeSettings(int) - Method in class org.elasticsearch.test.ESBackcompatTestCase
-
- ExternalTestCluster - Class in org.elasticsearch.test
-
External cluster to run the tests against.
- ExternalTestCluster(Path, Settings, Collection<Class<? extends Plugin>>, TransportAddress...) - Constructor for class org.elasticsearch.test.ExternalTestCluster
-
- externalTransportAddress() - Method in class org.elasticsearch.test.CompositeTestCluster
-
- extractTransportAddresses(TransportService) - Static method in class org.elasticsearch.test.transport.MockTransportService
-
- generateRandomStringArray(int, int, boolean, boolean) - Static method in class org.elasticsearch.test.ESTestCase
-
- generateRandomStringArray(int, int, boolean) - Static method in class org.elasticsearch.test.ESTestCase
-
- get(String, String, String) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Syntactic sugar for:
- get() - Method in interface org.elasticsearch.test.InternalTestCluster.Async
-
- getActualValue(RestTestExecutionContext) - Method in class org.elasticsearch.test.rest.section.Assertion
-
- getApi() - Method in class org.elasticsearch.test.rest.parser.RestTestSuiteParseContext
-
- getApi() - Method in class org.elasticsearch.test.rest.RestTestCandidate
-
- getApi() - Method in class org.elasticsearch.test.rest.section.ApiCallSection
-
- getApi() - Method in class org.elasticsearch.test.rest.section.RestTestSuite
-
- getApi(String) - Method in class org.elasticsearch.test.rest.spec.RestSpec
-
- getApiCallSection() - Method in class org.elasticsearch.test.rest.section.DoSection
-
- getApis() - Method in class org.elasticsearch.test.rest.spec.RestSpec
-
- getBinaryDocValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
-
- getBodies() - Method in class org.elasticsearch.test.rest.section.ApiCallSection
-
- getBody() - Method in class org.elasticsearch.test.rest.client.http.HttpResponse
-
- getBody() - Method in class org.elasticsearch.test.rest.client.RestResponse
-
Returns the body properly parsed depending on the content type.
- getBodyAsString() - Method in class org.elasticsearch.test.rest.client.RestResponse
-
Returns the body as a string
- getBwcIndicesPath() - Method in class org.elasticsearch.test.ESTestCase
-
- getCapturedRequestsAndClear() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
Returns all requests captured so far.
- getCapturedRequestsByTargetNodeAndClear() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
Returns all requests captured so far, grouped by target node.
- getCatch() - Method in class org.elasticsearch.test.rest.section.DoSection
-
- getClients() - Method in class org.elasticsearch.test.CompositeTestCluster
-
- getClients() - Method in class org.elasticsearch.test.ExternalTestCluster
-
- getClients() - Method in class org.elasticsearch.test.InternalTestCluster
-
- getClients() - Method in class org.elasticsearch.test.TestCluster
-
Returns an Iterable
over all clients in this test cluster
- getClientWrapper() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a function that allows to wrap / filter all clients that are exposed by the test cluster.
- getClusterInfo() - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService
-
- getClusterName() - Method in class org.elasticsearch.test.CompositeTestCluster
-
- getClusterName() - Method in class org.elasticsearch.test.ExternalTestCluster
-
- getClusterName() - Method in class org.elasticsearch.test.InternalTestCluster
-
- getClusterName() - Method in class org.elasticsearch.test.TestCluster
-
Returns the cluster name
- getClusterUrls() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns the addresses the client uses to connect to the test cluster.
- getCopyPermissions() - Method in class org.elasticsearch.test.PosixPermissionsResetter
-
- getCoreCacheKey() - Method in class org.elasticsearch.test.engine.MockEngineSupport.DirectoryReaderWrapper
-
- getCoreCacheKey() - Method in class org.elasticsearch.test.FieldMaskingReader
-
- getData() - Method in class org.elasticsearch.test.TestCustomMetaData
-
- getDataNodeInstance(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
- getDataNodeInstances(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns an Iterable to all instances for the given class >T< across all data nodes in the cluster.
- getDataPath(ShardRouting) - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService.DevNullClusterInfo
-
- getDataPath(String) - Method in class org.elasticsearch.test.ESTestCase
-
Returns a Path
pointing to the class path relative resource given
as the first argument.
- getDefaultSettings() - Method in class org.elasticsearch.test.InternalTestCluster
-
- getDoSections() - Method in class org.elasticsearch.test.rest.section.SetupSection
-
- getEsVersion() - Method in class org.elasticsearch.test.rest.client.RestClient
-
- getExecutableSections() - Method in class org.elasticsearch.test.rest.section.TestSection
-
- getExpectedValue() - Method in class org.elasticsearch.test.rest.section.Assertion
-
- getExtensions() - Method in class org.elasticsearch.script.MockScriptEngine
-
- getFailures() - Method in class org.elasticsearch.test.BackgroundIndexer
-
- getFeatures() - Method in class org.elasticsearch.test.rest.section.SkipSection
-
- getFetchSubPhaseContext(FetchSubPhase.ContextFactory<SubPhaseContext>) - Method in class org.elasticsearch.test.TestSearchContext
-
- getField() - Method in class org.elasticsearch.test.rest.section.Assertion
-
- getFinalPaths(Map<String, String>) - Method in class org.elasticsearch.test.rest.spec.RestApi
-
Finds the best matching rest path given the current parameters and replaces
placeholders with their corresponding values received as arguments
- getFirstVersion() - Static method in class org.elasticsearch.test.VersionUtils
-
Returns the oldest Version
- getHeaders() - Method in class org.elasticsearch.test.rest.client.http.HttpResponse
-
- getHeaders() - Method in class org.elasticsearch.test.rest.section.ApiCallSection
-
- getInstance(Class<T>, String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a reference to the given nodes instances of the given class >T<
- getInstance(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a reference to a random nodes instances of the given class >T<
- getInstanceFromNode(Class<T>) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
Get an instance for a particular class using the injector of the singleton node.
- getInstances(Class<T>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns an Iterable to all instances for the given class >T< across all nodes in the cluster.
- getInvokedCounter() - Method in class org.elasticsearch.ingest.TestProcessor
-
- getKey() - Method in class org.elasticsearch.ingest.TestTemplateService.MockTemplate
-
- getLocalAddresses() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- getLocalAddresses() - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- getLoggersAndLevelsFromAnnotation(TestLogging) - Static method in class org.elasticsearch.test.junit.listeners.LoggingListener
-
- getLowerVersion() - Method in class org.elasticsearch.test.rest.section.SkipSection
-
- getMajoritySide() - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- getMasterName() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns the name of the current master node in the cluster.
- getMasterName(String) - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns the name of the current master node in the cluster and executes the request via the node specified
in the viaNode parameter.
- getMethod() - Method in class org.elasticsearch.test.rest.client.http.HttpDeleteWithEntity
-
- getMethod() - Method in class org.elasticsearch.test.rest.client.http.HttpGetWithEntity
-
- getMethods() - Method in class org.elasticsearch.test.rest.spec.RestApi
-
- getMinoritySide() - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- getMockPlugins() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Return the mock plugins the cluster should use
- getName() - Method in class org.elasticsearch.test.rest.RestTestCandidate
-
- getName() - Method in class org.elasticsearch.test.rest.section.RestTestSuite
-
- getName() - Method in class org.elasticsearch.test.rest.section.TestSection
-
- getName() - Method in class org.elasticsearch.test.rest.spec.RestApi
-
- getNodeMode() - Method in class org.elasticsearch.test.InternalTestCluster
-
- getNodeNames() - Method in class org.elasticsearch.test.InternalTestCluster
-
- getNodesSideOne() - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- getNodesSideTwo() - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- getNormValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
-
- getNumericDocValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
-
- getNumShards(String) - Method in class org.elasticsearch.test.ESIntegTestCase
-
- getObjectMapper(String) - Method in class org.elasticsearch.test.TestSearchContext
-
- getOriginNanoTime() - Method in class org.elasticsearch.test.TestSearchContext
-
- getOutput() - Method in class org.elasticsearch.cli.MockTerminal
-
Returns all output written to this terminal.
- getParams() - Method in class org.elasticsearch.test.rest.section.ApiCallSection
-
- getParams() - Method in class org.elasticsearch.test.rest.spec.RestApi
-
- getPartitionDescription() - Method in class org.elasticsearch.test.disruption.NetworkDelaysPartition
-
- getPartitionDescription() - Method in class org.elasticsearch.test.disruption.NetworkDisconnectPartition
-
- getPartitionDescription() - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- getPartitionDescription() - Method in class org.elasticsearch.test.disruption.NetworkUnresponsivePartition
-
- getPath() - Method in class org.elasticsearch.test.rest.section.RestTestSuite
-
- getPathParts() - Method in class org.elasticsearch.test.rest.client.RestPath
-
- getPathParts() - Method in class org.elasticsearch.test.rest.spec.RestApi
-
- getPaths() - Method in class org.elasticsearch.test.rest.spec.RestApi
-
- getPerTestTransportClientRatio() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns the transport client ratio from the class level annotation or via
System.getProperty(String)
if available.
- getPlugins() - Method in class org.elasticsearch.node.MockNode
-
- getPlugins() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
The plugin classes that should be added to the node.
- getPreviousVersion(Version) - Static method in class org.elasticsearch.test.VersionUtils
-
- getPreviousVersion() - Static method in class org.elasticsearch.test.VersionUtils
-
Returns the Version
before the Version.CURRENT
- getProfilers() - Method in class org.elasticsearch.test.TestSearchContext
-
- getQueryShardContext() - Method in class org.elasticsearch.test.TestSearchContext
-
- getReason() - Method in class org.elasticsearch.test.rest.section.SkipSection
-
- getReasonPhrase() - Method in class org.elasticsearch.test.rest.client.http.HttpResponse
-
- getReasonPhrase() - Method in class org.elasticsearch.test.rest.client.RestResponse
-
- getSetupSection() - Method in class org.elasticsearch.test.rest.RestTestCandidate
-
- getSetupSection() - Method in class org.elasticsearch.test.rest.section.RestTestSuite
-
- getSkipSection() - Method in class org.elasticsearch.test.rest.section.SetupSection
-
- getSkipSection() - Method in class org.elasticsearch.test.rest.section.TestSection
-
- getSortedDocValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
-
- getSortedSetDocValues(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
-
- getStash() - Method in class org.elasticsearch.test.rest.section.SetSection
-
- getStatusCode() - Method in class org.elasticsearch.test.rest.client.http.HttpResponse
-
- getStatusCode() - Method in class org.elasticsearch.test.rest.client.RestResponse
-
- getSuiteFailureMarker() - Static method in class org.elasticsearch.test.ESTestCase
-
Returns the suite failure marker: internal use only!
- getSuiteName() - Method in class org.elasticsearch.test.rest.parser.RestTestSuiteParseContext
-
- getSuitePath() - Method in class org.elasticsearch.test.rest.RestTestCandidate
-
- getSupportedMethods(Set<String>) - Method in class org.elasticsearch.test.rest.spec.RestApi
-
Returns the supported http methods given the rest parameters provided
- getTag() - Method in class org.elasticsearch.ingest.TestProcessor
-
- getTermVectors(int) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
-
- getTestPath() - Method in class org.elasticsearch.test.rest.RestTestCandidate
-
- getTestSection() - Method in class org.elasticsearch.test.rest.RestTestCandidate
-
- getTestSections() - Method in class org.elasticsearch.test.rest.section.RestTestSuite
-
- getType() - Method in class org.elasticsearch.ingest.TestProcessor
-
- getTypes() - Method in class org.elasticsearch.script.MockScriptEngine
-
- getUpperVersion() - Method in class org.elasticsearch.test.rest.section.SkipSection
-
- getVersion() - Method in class org.elasticsearch.node.MockNode
-
- getVersion() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
The version of elasticsearch the node should act like.
- getWriter() - Method in class org.elasticsearch.cli.MockTerminal
-
- globalCompatibilityVersion() - Static method in class org.elasticsearch.test.ESBackcompatTestCase
-
Returns a global compatibility version that is set via the
or
"tests.bwc.version" system property.
- GradleMessageBuilder(StringBuilder) - Constructor for class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter.GradleMessageBuilder
-
- GreaterThanAssertion - Class in org.elasticsearch.test.rest.section
-
Represents a gt assert section:
- GreaterThanAssertion(String, Object) - Constructor for class org.elasticsearch.test.rest.section.GreaterThanAssertion
-
- GreaterThanEqualToAssertion - Class in org.elasticsearch.test.rest.section
-
Represents a gte assert section:
- gte: { fields._ttl: 0 }
- GreaterThanEqualToAssertion(String, Object) - Constructor for class org.elasticsearch.test.rest.section.GreaterThanEqualToAssertion
-
- GreaterThanEqualToParser - Class in org.elasticsearch.test.rest.parser
-
Parser for gte assert sections
- GreaterThanEqualToParser() - Constructor for class org.elasticsearch.test.rest.parser.GreaterThanEqualToParser
-
- GreaterThanParser - Class in org.elasticsearch.test.rest.parser
-
Parser for gt assert sections
- GreaterThanParser() - Constructor for class org.elasticsearch.test.rest.parser.GreaterThanParser
-
- groupStats() - Method in class org.elasticsearch.test.TestSearchContext
-
- groupStats(List<String>) - Method in class org.elasticsearch.test.TestSearchContext
-
- random - Variable in class org.elasticsearch.test.disruption.NetworkPartition
-
- random - Variable in class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- random - Variable in class org.elasticsearch.test.TestCluster
-
- RANDOM_IO_EXCEPTION_RATE_ON_OPEN_SETTING - Static variable in class org.elasticsearch.test.store.MockFSDirectoryService
-
- RANDOM_IO_EXCEPTION_RATE_SETTING - Static variable in class org.elasticsearch.test.store.MockFSDirectoryService
-
- RANDOM_NO_DELETE_OPEN_FILE_SETTING - Static variable in class org.elasticsearch.test.store.MockFSDirectoryService
-
- RANDOM_PREVENT_DOUBLE_WRITE_SETTING - Static variable in class org.elasticsearch.test.store.MockFSDirectoryService
-
- randomAllocationDeciders(Settings, ClusterSettings, Random) - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- randomAsciiOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomAsciiOfLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomBoolean() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomByte() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomDateTimeZone() - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a random JODA Time Zone based on Java Time Zones
- RandomDocumentPicks - Class in org.elasticsearch.ingest
-
- randomDouble() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomDoubleBetween(double, double, boolean) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a double value in the interval [start, end) if lowerInclusive is
set to true, (start, end) otherwise.
- randomExecutionHint() - Method in class org.elasticsearch.search.aggregations.bucket.AbstractTermsTestCase
-
- randomExistingFieldName(Random, IngestDocument) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Returns a randomly selected existing field name out of the fields that are contained
in the document provided as an argument.
- randomFieldName(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Returns a random field name.
- randomFieldValue(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Generates a random field value, can be a string, a number, a list of an object itself.
- randomFloat() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomFrom(T...) - Static method in class org.elasticsearch.test.ESTestCase
-
Pick a random object from the given array.
- randomFrom(List<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Pick a random object from the given list.
- randomIndexTemplate() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Creates a randomized index template.
- randomIngestDocument(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Generates a random document and random metadata
- randomIngestDocument(Random, Map<String, Object>) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Generates a document that holds random metadata and the document provided as a map argument
- randomInt() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomInt(int) - Static method in class org.elasticsearch.test.ESTestCase
-
A random integer from 0..max (inclusive).
- randomIntBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
A random integer from min
to max
(inclusive).
- RandomizingClient - Class in org.elasticsearch.test.client
-
A Client
that randomizes request parameters.
- RandomizingClient(Client, Random) - Constructor for class org.elasticsearch.test.client.RandomizingClient
-
- randomLeafFieldName(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
Returns a random leaf field name.
- randomLong() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomPositiveTimeValue() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomRealisticUnicodeOfCodepointLength(int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomRealisticUnicodeOfCodepointLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomRealisticUnicodeOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomRealisticUnicodeOfLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomRepoPath() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns path to a random directory that can be used to create a temporary file system repo
- randomRepoPath(Settings) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Returns path to a random directory that can be used to create a temporary file system repo
- randomShort() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomSource(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
- randomString(Random) - Static method in class org.elasticsearch.ingest.RandomDocumentPicks
-
- randomSubsetOf(int, T...) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns size random values
- randomSubsetOf(Collection<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a random subset of values (including a potential empty list)
- randomSubsetOf(int, Collection<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns size random values
- randomTimeValue() - Static method in class org.elasticsearch.test.ESTestCase
-
- randomUnicodeOfCodepointLength(int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomUnicodeOfCodepointLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomUnicodeOfLength(int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomUnicodeOfLengthBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
- randomUnique(Supplier<T>, int) - Static method in class org.elasticsearch.test.ESTestCase
-
Builds a set of unique items.
- randomValueOtherThan(T, Supplier<T>) - Static method in class org.elasticsearch.test.ESTestCase
-
helper to get a random value in a certain range that's different from the input
- randomVersion() - Static method in class org.elasticsearch.test.ESTokenStreamTestCase
-
- randomVersion(Random) - Static method in class org.elasticsearch.test.VersionUtils
-
Returns a random Version
from all available versions.
- randomVersionBetween(Random, Version, Version) - Static method in class org.elasticsearch.test.VersionUtils
-
Returns a random Version
between minVersion
and maxVersion
(inclusive).
- rateLimiting() - Method in class org.elasticsearch.test.store.MockFSDirectoryService
-
- rawPath() - Method in class org.elasticsearch.test.rest.FakeRestRequest
-
- readFrom(StreamInput) - Method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions.ThrowableWrapper
-
- readFrom(StreamInput) - Method in class org.elasticsearch.test.TestCustomMetaData
-
- readSecret(String) - Method in class org.elasticsearch.cli.MockTerminal
-
- readText(String) - Method in class org.elasticsearch.cli.MockTerminal
-
- receivedRequest(long, String) - Method in class org.elasticsearch.test.transport.MockTransportService.Tracer
-
- receivedResponse(long, DiscoveryNode, String) - Method in class org.elasticsearch.test.transport.MockTransportService.Tracer
-
- refresh(String...) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for relocations and refreshes all indices in the cluster.
- RegexMatcher - Class in org.elasticsearch.test.hamcrest
-
Matcher that supports regular expression and allows to provide optional flags
- RegexMatcher(String) - Constructor for class org.elasticsearch.test.hamcrest.RegexMatcher
-
- RegexMatcher(String, int) - Constructor for class org.elasticsearch.test.hamcrest.RegexMatcher
-
- register(String, String, TransportRequest) - Method in class org.elasticsearch.test.tasks.MockTaskManager
-
- relocate(ShardRouting, String, long) - Static method in class org.elasticsearch.cluster.routing.TestShardRouting
-
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.BlockClusterStateProcessing
-
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.LongGCDisruption
-
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- removeAndEnsureHealthy(InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- removeAndEnsureHealthy(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SlowClusterStateProcessing
-
- removeContext(long) - Method in class org.elasticsearch.search.MockSearchService
-
- removeDisruption(MockTransportService, MockTransportService) - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- removeFromCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- removeFromCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- removeFromCluster(InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- removeFromCluster(InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- removeFromNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- removeFromNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- removeFromNode(String, InternalTestCluster) - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- removeFromNode(String, InternalTestCluster) - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- removeLifecycleListener(LifecycleListener) - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- removeLifecycleListener(LifecycleListener) - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- removeListener(MockTaskManagerListener) - Method in class org.elasticsearch.test.tasks.MockTaskManager
-
- removeTracer(MockTransportService.Tracer) - Method in class org.elasticsearch.test.transport.MockTransportService
-
- replacePlaceholders(Map<String, String>) - Method in class org.elasticsearch.test.rest.client.RestPath
-
- ReproduceInfoPrinter - Class in org.elasticsearch.test.junit.listeners
-
A RunListener
that emits a command you can use to re-run a failing test with the failing random seed to
System.err
.
- ReproduceInfoPrinter() - Constructor for class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
-
- ReproduceInfoPrinter.GradleMessageBuilder - Class in org.elasticsearch.test.junit.listeners
-
- request() - Method in class org.elasticsearch.test.rest.FakeRestChannel
-
- request() - Method in class org.elasticsearch.test.TestSearchContext
-
- request - Variable in class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
- requestId - Variable in class org.elasticsearch.test.transport.CapturingTransport.CapturedRequest
-
- requestSent(DiscoveryNode, long, String, TransportRequestOptions) - Method in class org.elasticsearch.test.transport.MockTransportService.Tracer
-
- requiredSettings() - Method in class org.elasticsearch.test.ESBackcompatTestCase
-
- rescore() - Method in class org.elasticsearch.test.TestSearchContext
-
- reset() - Method in class org.elasticsearch.cli.MockTerminal
-
Wipes the input and output.
- reset() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
- resetCheckIndexStatus() - Method in class org.elasticsearch.test.ESTestCase
-
- resetNodeAfterTest() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
This method returns true
if the node that is used in the background should be reset
after each test.
- resetTerminal() - Method in class org.elasticsearch.cli.CommandTestCase
-
- resize(ByteArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
-
- resize(IntArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
-
- resize(LongArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
-
- resize(FloatArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
-
- resize(DoubleArray, long) - Method in class org.elasticsearch.common.util.MockBigArrays
-
- resize(ObjectArray<T>, long) - Method in class org.elasticsearch.common.util.MockBigArrays
-
- resolveExpectedValue(RestTestExecutionContext) - Method in class org.elasticsearch.test.rest.section.Assertion
-
- resolveIndex(String) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
- resolveIndex(String) - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
- response(String) - Method in class org.elasticsearch.test.rest.RestTestExecutionContext
-
Extracts a specific value from the last saved response
- responses() - Method in class org.elasticsearch.test.rest.FakeRestChannel
-
- responseSent(long, String) - Method in class org.elasticsearch.test.transport.MockTransportService.Tracer
-
- responseSent(long, String, Throwable) - Method in class org.elasticsearch.test.transport.MockTransportService.Tracer
-
- REST_LOAD_PACKAGED_TESTS - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
-
- REST_TESTS_BLACKLIST - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
-
Property that allows to blacklist some of the REST tests based on a comma separated list of globs
e.g.
- REST_TESTS_SPEC - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
-
Property that allows to control where the REST spec files need to be loaded from
- REST_TESTS_SUITE - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
-
Property that allows to control which REST tests get run.
- REST_TESTS_VALIDATE_SPEC - Static variable in class org.elasticsearch.test.rest.ESRestTestCase
-
Property that allows to control whether spec validation is enabled or not (default true).
- restAdminSettings() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Returns the REST client settings used for admin actions like cleaning up after the test has completed.
- RestApi - Class in org.elasticsearch.test.rest.spec
-
Represents an elasticsearch REST endpoint (api)
- RestApi.BODY - Enum in org.elasticsearch.test.rest.spec
-
- RestApiParser - Class in org.elasticsearch.test.rest.spec
-
Parser for a REST api spec (single json file)
- RestApiParser() - Constructor for class org.elasticsearch.test.rest.spec.RestApiParser
-
- RestartCallback() - Constructor for class org.elasticsearch.test.InternalTestCluster.RestartCallback
-
- restartNode(String, InternalTestCluster.RestartCallback) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a node and calls the callback during restart.
- restartRandomDataNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a random data node in the cluster
- restartRandomDataNode(InternalTestCluster.RestartCallback) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a random data node in the cluster and calls the callback during restart.
- restartRandomNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a random node in the cluster
- restartRandomNode(InternalTestCluster.RestartCallback) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts a random node in the cluster and calls the callback during restart.
- RestClient - Class in org.elasticsearch.test.rest.client
-
REST client used to test the elasticsearch REST layer
Holds the
RestSpec
used to translate api calls into REST calls
- RestClient(RestSpec, Settings, URL[]) - Constructor for class org.elasticsearch.test.rest.client.RestClient
-
- restClientSettings() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
Used to obtain settings for the REST client that is used to send REST requests.
- RestException - Exception in org.elasticsearch.test.rest.client
-
Thrown when a status code that holds an error is received (unless needs to be ignored)
Holds the original
RestResponse
- RestException(String, RestResponse) - Constructor for exception org.elasticsearch.test.rest.client.RestException
-
- restoreContentType() - Static method in class org.elasticsearch.test.ESTestCase
-
- restoreFileSystem() - Static method in class org.elasticsearch.test.ESTestCase
-
- RestPath - Class in org.elasticsearch.test.rest.client
-
- RestPath(List<String>) - Constructor for class org.elasticsearch.test.rest.client.RestPath
-
- RestPath(String) - Constructor for class org.elasticsearch.test.rest.client.RestPath
-
- restResponse() - Method in exception org.elasticsearch.test.rest.client.RestException
-
- RestResponse - Class in org.elasticsearch.test.rest.client
-
Response obtained from a REST call
Supports parsing the response body as json when needed and returning specific values extracted from it
- RestResponse(HttpResponse) - Constructor for class org.elasticsearch.test.rest.client.RestResponse
-
- RestSpec - Class in org.elasticsearch.test.rest.spec
-
Holds the elasticsearch REST spec
- RestTestCandidate - Class in org.elasticsearch.test.rest
-
- RestTestCandidate(RestTestSuite, TestSection) - Constructor for class org.elasticsearch.test.rest.RestTestCandidate
-
- RestTestExecutionContext - Class in org.elasticsearch.test.rest
-
Execution context passed across the REST tests.
- RestTestExecutionContext(RestSpec) - Constructor for class org.elasticsearch.test.rest.RestTestExecutionContext
-
- RestTestFragmentParser<T> - Interface in org.elasticsearch.test.rest.parser
-
Base parser for a REST test suite fragment
- RestTestParseException - Exception in org.elasticsearch.test.rest.parser
-
Exception thrown whenever there is a problem parsing any of the REST test suite fragment
- RestTestSectionParser - Class in org.elasticsearch.test.rest.parser
-
Parser for a complete test section
- RestTestSectionParser() - Constructor for class org.elasticsearch.test.rest.parser.RestTestSectionParser
-
- RestTestSuite - Class in org.elasticsearch.test.rest.section
-
Holds a REST test suite loaded from a specific yaml file.
- RestTestSuite(String, String) - Constructor for class org.elasticsearch.test.rest.section.RestTestSuite
-
- RestTestSuiteParseContext - Class in org.elasticsearch.test.rest.parser
-
Context shared across the whole tests parse phase.
- RestTestSuiteParseContext(String, String, XContentParser) - Constructor for class org.elasticsearch.test.rest.parser.RestTestSuiteParseContext
-
- RestTestSuiteParser - Class in org.elasticsearch.test.rest.parser
-
Parser for a complete test suite (yaml file)
- RestTestSuiteParser() - Constructor for class org.elasticsearch.test.rest.parser.RestTestSuiteParser
-
- resumeThreads(Set<Thread>) - Method in class org.elasticsearch.test.disruption.LongGCDisruption
-
- rollingRestart() - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts all nodes in a rolling restart fashion ie.
- rollingRestart(InternalTestCluster.RestartCallback) - Method in class org.elasticsearch.test.InternalTestCluster
-
Restarts all nodes in a rolling restart fashion ie.
- routingKeyForShard(String, String, int) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Compute a routing key that will route documents to the shard
-th shard
of the provided index.
- run() - Method in class org.elasticsearch.search.aggregations.bucket.script.NativeSignificanceScoreScriptNoParams
-
- run() - Method in class org.elasticsearch.search.aggregations.bucket.script.NativeSignificanceScoreScriptWithParams
-
- runningTasks(RestResponse) - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
- safeClass(Object) - Method in class org.elasticsearch.test.rest.section.Assertion
-
a utility to get the class of an object, protecting for null (i.e., returning null if the input is null)
- scaledRandomIntBetween(int, int) - Static method in class org.elasticsearch.test.ESTestCase
-
Returns a "scaled" random number between min and max (inclusive).
- scriptFields() - Method in class org.elasticsearch.test.TestSearchContext
-
- scriptRemoved(CompiledScript) - Method in class org.elasticsearch.script.MockScriptEngine
-
- scriptService() - Method in class org.elasticsearch.test.TestSearchContext
-
- scrollContext() - Method in class org.elasticsearch.test.TestSearchContext
-
- scrollContext(ScrollContext) - Method in class org.elasticsearch.test.TestSearchContext
-
- search(CompiledScript, SearchLookup, Map<String, Object>) - Method in class org.elasticsearch.script.MockScriptEngine
-
- searchAfter(FieldDoc) - Method in class org.elasticsearch.test.TestSearchContext
-
- searchAfter() - Method in class org.elasticsearch.test.TestSearchContext
-
- searcher() - Method in class org.elasticsearch.test.TestSearchContext
-
- searchFilter(String[]) - Method in class org.elasticsearch.test.TestSearchContext
-
- SearchHitHasIdMatcher(String) - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchMatchers.SearchHitHasIdMatcher
-
- SearchHitHasIndexMatcher(String) - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchMatchers.SearchHitHasIndexMatcher
-
- SearchHitHasScoreMatcher(float) - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchMatchers.SearchHitHasScoreMatcher
-
- SearchHitHasTypeMatcher(String) - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchMatchers.SearchHitHasTypeMatcher
-
- searchType() - Method in class org.elasticsearch.test.TestSearchContext
-
- seed() - Method in class org.elasticsearch.test.TestCluster
-
- sendRequest(DiscoveryNode, long, String, TransportRequest, TransportRequestOptions) - Method in class org.elasticsearch.test.transport.AssertingLocalTransport
-
- sendRequest(DiscoveryNode, long, String, TransportRequest, TransportRequestOptions) - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- sendRequest(DiscoveryNode, long, String, TransportRequest, TransportRequestOptions) - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- sendResponse(RestResponse) - Method in class org.elasticsearch.test.rest.FakeRestChannel
-
- serverOpen() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- serverOpen() - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- ServiceDisruptionScheme - Interface in org.elasticsearch.test.disruption
-
- setApiCallSection(ApiCallSection) - Method in class org.elasticsearch.test.rest.section.DoSection
-
- setCatch(String) - Method in class org.elasticsearch.test.rest.section.DoSection
-
- setClusterReadOnly(boolean) - Static method in class org.elasticsearch.test.ESIntegTestCase
-
Sets or unsets the cluster read_only mode
- setContentType() - Static method in class org.elasticsearch.test.ESTestCase
-
- setDisruptionScheme(ServiceDisruptionScheme) - Method in class org.elasticsearch.test.ESIntegTestCase
-
- setDisruptionScheme(ServiceDisruptionScheme) - Method in class org.elasticsearch.test.InternalTestCluster
-
- setFileSystem() - Static method in class org.elasticsearch.test.ESTestCase
-
- setMaxFieldSize(int) - Method in class org.elasticsearch.test.BackgroundIndexer
-
the minimum size in code points of a payload field in the indexed documents
- setMinFieldSize(int) - Method in class org.elasticsearch.test.BackgroundIndexer
-
the minimum size in code points of a payload field in the indexed documents
- setMinimumMasterNodes(int) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Sets the cluster's minimum master node and make sure the response is acknowledge.
- setN1Usage(String, DiskUsage) - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService
-
- setN2Usage(String, DiskUsage) - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService
-
- setN3Usage(String, DiskUsage) - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService
-
- setNanoTimeOverride(long) - Method in class org.elasticsearch.test.ESAllocationTestCase.MockAllocationService
-
- setNewDelegate(IndexEventListener) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- setNextVar(String, Object) - Method in class org.elasticsearch.search.aggregations.bucket.script.TestScript
-
- setPermissions(Set<PosixFilePermission>) - Method in class org.elasticsearch.test.PosixPermissionsResetter
-
- setRandomIndexSettings(Random, Settings.Builder) - Method in class org.elasticsearch.test.ESIntegTestCase
-
- setReaderClass(Class<? extends FilterDirectoryReader>) - Method in class org.elasticsearch.index.MockEngineFactoryPlugin.MockEngineReaderModule
-
- setSearcher(Engine.Searcher) - Method in class org.elasticsearch.test.TestSearchContext
-
- SetSection - Class in org.elasticsearch.test.rest.section
-
Represents a set section:
- set: {_scroll_id: scroll_id}
- SetSection() - Constructor for class org.elasticsearch.test.rest.section.SetSection
-
- SetSectionParser - Class in org.elasticsearch.test.rest.parser
-
Parser for set sections
- SetSectionParser() - Constructor for class org.elasticsearch.test.rest.parser.SetSectionParser
-
- setSetupSection(SetupSection) - Method in class org.elasticsearch.test.rest.section.RestTestSuite
-
- setSize(int) - Method in class org.elasticsearch.test.TestSearchContext
-
- setSkipSection(SkipSection) - Method in class org.elasticsearch.test.rest.section.SetupSection
-
- setSkipSection(SkipSection) - Method in class org.elasticsearch.test.rest.section.TestSection
-
- settings(Version) - Static method in class org.elasticsearch.test.ESTestCase
-
Return consistent index settings for the provided index version.
- setup() - Static method in class org.elasticsearch.common.io.PathUtilsForTesting
-
Sets a new default filesystem for testing
- setUp() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
- setUpClass() - Static method in class org.elasticsearch.test.ESSingleNodeTestCase
-
- setUpdateFrequency(TimeValue) - Method in class org.elasticsearch.cluster.MockInternalClusterInfoService
-
- setupMocks() - Method in class org.elasticsearch.test.rest.client.StrictHostnameVerifierTests
-
- SetupSection - Class in org.elasticsearch.test.rest.section
-
Represents a setup section.
- SetupSection() - Constructor for class org.elasticsearch.test.rest.section.SetupSection
-
- SetupSectionParser - Class in org.elasticsearch.test.rest.parser
-
Parser for setup sections
- SetupSectionParser() - Constructor for class org.elasticsearch.test.rest.parser.SetupSectionParser
-
- setupSuiteScopeCluster() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- setupSuiteScopeCluster() - Method in class org.elasticsearch.test.ESIntegTestCase
-
- shardRoutingChanged(IndexShard, ShardRouting, ShardRouting) - Method in class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- shardTarget() - Method in class org.elasticsearch.test.TestSearchContext
-
- shuffleXContent(XContentBuilder, Set<String>) - Static method in class org.elasticsearch.test.ESTestCase
-
Randomly shuffles the fields inside objects in the XContentBuilder
passed in.
- similarityService() - Method in class org.elasticsearch.test.TestSearchContext
-
- SingleNodeDisruption - Class in org.elasticsearch.test.disruption
-
- SingleNodeDisruption(String, Random) - Constructor for class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- SingleNodeDisruption(Random) - Constructor for class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- size() - Method in class org.elasticsearch.test.CompositeTestCluster
-
- size() - Method in class org.elasticsearch.test.ExternalTestCluster
-
- size() - Method in class org.elasticsearch.test.InternalTestCluster
-
- size() - Method in class org.elasticsearch.test.TestCluster
-
Returns the number of nodes in the cluster.
- size() - Method in class org.elasticsearch.test.TestSearchContext
-
- size(int) - Method in class org.elasticsearch.test.TestSearchContext
-
- skip(Version) - Method in class org.elasticsearch.test.rest.section.SkipSection
-
- SkipSection - Class in org.elasticsearch.test.rest.section
-
Represents a skip section that tells whether a specific test section or suite needs to be skipped
based on:
- the elasticsearch version the tests are running against
- a specific test feature required that might not be implemented yet by the runner
- SkipSection(String, List<String>, String) - Constructor for class org.elasticsearch.test.rest.section.SkipSection
-
- SkipSectionParser - Class in org.elasticsearch.test.rest.parser
-
Parser for skip sections
- SkipSectionParser() - Constructor for class org.elasticsearch.test.rest.parser.SkipSectionParser
-
- SlowClusterStateProcessing - Class in org.elasticsearch.test.disruption
-
- SlowClusterStateProcessing(Random) - Constructor for class org.elasticsearch.test.disruption.SlowClusterStateProcessing
-
- SlowClusterStateProcessing(String, Random) - Constructor for class org.elasticsearch.test.disruption.SlowClusterStateProcessing
-
- SlowClusterStateProcessing(String, Random, long, long, long, long) - Constructor for class org.elasticsearch.test.disruption.SlowClusterStateProcessing
-
- SlowClusterStateProcessing(Random, long, long, long, long) - Constructor for class org.elasticsearch.test.disruption.SlowClusterStateProcessing
-
- smartClient() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a "smart" node client to a random node in the cluster
- smartNameFieldType(String) - Method in class org.elasticsearch.test.TestSearchContext
-
- sort(Sort) - Method in class org.elasticsearch.test.TestSearchContext
-
- sort() - Method in class org.elasticsearch.test.TestSearchContext
-
- source() - Method in class org.elasticsearch.test.TestSearchContext
-
- sourceRequested() - Method in class org.elasticsearch.test.TestSearchContext
-
- spinForAtLeastOneMillisecond() - Static method in class org.elasticsearch.test.ESTestCase
-
- start() - Method in class org.elasticsearch.test.BackgroundIndexer
-
Start indexing with no limit to the number of documents
- start(int) - Method in class org.elasticsearch.test.BackgroundIndexer
-
Start indexing
- start() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- start() - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- startCoordinatingOnlyNode(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startDataOnlyNode(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startDataOnlyNodeAsync() - Method in class org.elasticsearch.test.InternalTestCluster
-
- startDataOnlyNodeAsync(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startDataOnlyNodesAsync(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startDataOnlyNodesAsync(int, Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startDisrupting() - Method in class org.elasticsearch.test.disruption.BlockClusterStateProcessing
-
- startDisrupting() - Method in class org.elasticsearch.test.disruption.IntermittentLongGCDisruption
-
- startDisrupting() - Method in class org.elasticsearch.test.disruption.LongGCDisruption
-
- startDisrupting() - Method in class org.elasticsearch.test.disruption.NetworkDelaysPartition
-
- startDisrupting() - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- startDisrupting() - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- startDisrupting() - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- startDisrupting() - Method in class org.elasticsearch.test.disruption.SlowClusterStateProcessing
-
- startMasterOnlyNode(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startMasterOnlyNodeAsync() - Method in class org.elasticsearch.test.InternalTestCluster
-
- startMasterOnlyNodeAsync(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startMasterOnlyNodesAsync(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startMasterOnlyNodesAsync(int, Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
- startNewNode() - Method in class org.elasticsearch.test.CompositeTestCluster
-
Starts a current version data node
- startNode() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
- startNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node with default settings and returns it's name.
- startNode(Version) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node with default settings ad the specified version and returns it's name.
- startNode(Settings.Builder) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node with the given settings builder and returns it's name.
- startNode(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node with the given settings and returns it's name.
- startNode(Settings, Version) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node with the given settings and version and returns it's name.
- startNodeAsync() - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node in an async manner with the given settings and returns future with its name.
- startNodeAsync(Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node in an async manner with the given settings and returns future with its name.
- startNodeAsync(Settings, Version) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts a node in an async manner with the given settings and version and returns future with its name.
- startNodesAsync(int) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts multiple nodes in an async manner and returns future with its name.
- startNodesAsync(int, Settings) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts multiple nodes in an async manner with the given settings and returns future with its name.
- startNodesAsync(int, Settings, Version) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts multiple nodes in an async manner with the given settings and version and returns future with its name.
- startNodesAsync(Settings...) - Method in class org.elasticsearch.test.InternalTestCluster
-
Starts multiple nodes (based on the number of settings provided) in an async manner, with explicit settings for each node.
- startRandomInitializingShard(ClusterState, AllocationService) - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- stash() - Method in class org.elasticsearch.test.rest.RestTestExecutionContext
-
- Stash - Class in org.elasticsearch.test.rest
-
Allows to cache the last obtained test response and or part of it within variables
that can be used as input values in following requests and assertions.
- Stash() - Constructor for class org.elasticsearch.test.rest.Stash
-
- stashValue(String, Object) - Method in class org.elasticsearch.test.rest.Stash
-
Allows to saved a specific field in the stash as key-value pair
- statusCode() - Method in exception org.elasticsearch.test.rest.client.RestException
-
- stop() - Method in class org.elasticsearch.test.BackgroundIndexer
-
Stop all background threads *
- stop() - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- stop() - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- stopCurrentMasterNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Stops the current master node forcefully
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.BlockClusterStateProcessing
-
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.IntermittentLongGCDisruption
-
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.LongGCDisruption
-
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- stopDisrupting() - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- stopDisrupting() - Method in class org.elasticsearch.test.disruption.SlowClusterStateProcessing
-
- stopNode() - Static method in class org.elasticsearch.test.ESSingleNodeTestCase
-
- stopNodeThreads(String, Set<Thread>) - Method in class org.elasticsearch.test.disruption.LongGCDisruption
-
- stopRandomDataNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Stops a random data node in the cluster.
- stopRandomNode(Predicate<Settings>) - Method in class org.elasticsearch.test.InternalTestCluster
-
Stops a random node in the cluster that applies to the given filter or non if the non of the nodes applies to the
filter.
- stopRandomNonMasterNode() - Method in class org.elasticsearch.test.InternalTestCluster
-
Stops any of the current nodes but not the master node.
- StreamsUtils - Class in org.elasticsearch.test
-
- StreamsUtils() - Constructor for class org.elasticsearch.test.StreamsUtils
-
- StrictHostnameVerifierTests - Class in org.elasticsearch.test.rest.client
-
Tests for the StrictHostnameVerifier
to validate that it can verify IPv6 addresses with and without bracket notation, in
addition to other address types.
- StrictHostnameVerifierTests() - Constructor for class org.elasticsearch.test.rest.client.StrictHostnameVerifierTests
-
- subReaderWrapper - Variable in class org.elasticsearch.test.engine.MockEngineSupport.DirectoryReaderWrapper
-
- suggest() - Method in class org.elasticsearch.test.TestSearchContext
-
- suggest(SuggestionSearchContext) - Method in class org.elasticsearch.test.TestSearchContext
-
- SUITE_CLUSTER_NODE_PREFIX - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
node names of the corresponding clusters will start with these prefixes
- supportsBody() - Method in class org.elasticsearch.test.rest.client.http.HttpResponse
-
- SYSPROP_THIRDPARTY - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
Property that controls whether ThirdParty Integration tests are run (not the default).
- teardown() - Static method in class org.elasticsearch.common.io.PathUtilsForTesting
-
Resets filesystem back to the real system default
- tearDown() - Method in class org.elasticsearch.test.ESSingleNodeTestCase
-
- tearDownClass() - Static method in class org.elasticsearch.test.ESSingleNodeTestCase
-
- terminal - Variable in class org.elasticsearch.cli.CommandTestCase
-
The terminal that execute uses.
- terminate(ExecutorService...) - Static method in class org.elasticsearch.test.ESTestCase
-
- terminate(ThreadPool) - Static method in class org.elasticsearch.test.ESTestCase
-
- terminateAfter() - Method in class org.elasticsearch.test.TestSearchContext
-
- terminateAfter(int) - Method in class org.elasticsearch.test.TestSearchContext
-
- terms(String) - Method in class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingFields
-
- test() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
- TEST_CLUSTER_NODE_PREFIX - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
- TestAllocateDecision(Decision) - Constructor for class org.elasticsearch.test.ESAllocationTestCase.TestAllocateDecision
-
- TestCluster - Class in org.elasticsearch.test
-
Base test cluster that exposes the basis to run tests against any elasticsearch cluster, whose layout
(e.g.
- TestCluster(long) - Constructor for class org.elasticsearch.test.TestCluster
-
- testClusterClosed() - Method in class org.elasticsearch.test.disruption.NetworkPartition
-
- testClusterClosed() - Method in class org.elasticsearch.test.disruption.NoOpDisruptionScheme
-
- testClusterClosed() - Method in interface org.elasticsearch.test.disruption.ServiceDisruptionScheme
-
- testClusterClosed() - Method in class org.elasticsearch.test.disruption.SingleNodeDisruption
-
- TestCustomMetaData - Class in org.elasticsearch.test
-
- TestCustomMetaData(String) - Constructor for class org.elasticsearch.test.TestCustomMetaData
-
- testEmptyAggregation() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- TestEventListener() - Constructor for class org.elasticsearch.test.MockIndexEventListener.TestEventListener
-
- testFailure(Failure) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
-
- testFinished(Description) - Method in class org.elasticsearch.test.junit.listeners.LoggingListener
-
- testFinished(Description) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
-
- TestLogging - Annotation Type in org.elasticsearch.test.junit.annotations
-
Annotation used to set a custom log level for a specific test method.
- testMultiValuedField() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testMultiValuedFieldWithValueScript() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testMultiValuedFieldWithValueScriptWithParams() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testNetworkPartitionWithNodeShutdown() - Method in class org.elasticsearch.test.disruption.NetworkPartitionIT
-
- testOrderByEmptyAggregation() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testOtherDocCount(String...) - Method in class org.elasticsearch.search.aggregations.bucket.AbstractTermsTestCase
-
- TestPlugin() - Constructor for class org.elasticsearch.cluster.MockInternalClusterInfoService.TestPlugin
-
- TestPlugin() - Constructor for class org.elasticsearch.script.MockScriptEngine.TestPlugin
-
- TestPlugin() - Constructor for class org.elasticsearch.search.MockSearchService.TestPlugin
-
- TestPlugin() - Constructor for class org.elasticsearch.test.MockIndexEventListener.TestPlugin
-
- TestPlugin() - Constructor for class org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
-
- TestPlugin() - Constructor for class org.elasticsearch.test.transport.AssertingLocalTransport.TestPlugin
-
- TestPlugin() - Constructor for class org.elasticsearch.test.transport.MockTransportService.TestPlugin
-
- TestProcessor - Class in org.elasticsearch.ingest
-
Processor used for testing, keeps track of how many times it is invoked and
accepts a Consumer
of IngestDocument
to be called when executed.
- TestProcessor(Consumer<IngestDocument>) - Constructor for class org.elasticsearch.ingest.TestProcessor
-
- TestProcessor(String, String, Consumer<IngestDocument>) - Constructor for class org.elasticsearch.ingest.TestProcessor
-
- TestProcessor.Factory - Class in org.elasticsearch.ingest
-
- testRunFinished(Result) - Method in class org.elasticsearch.test.junit.listeners.LoggingListener
-
- testRunStarted(Description) - Method in class org.elasticsearch.test.junit.listeners.LoggingListener
-
- TESTS_BACKWARDS_COMPATIBILITY - Static variable in class org.elasticsearch.test.ESBackcompatTestCase
-
Key used to set the path for the elasticsearch executable used to run backwards compatibility tests from
via the commandline -D"tests.bwc"
- TESTS_BACKWARDS_COMPATIBILITY_PATH - Static variable in class org.elasticsearch.test.ESBackcompatTestCase
-
Key used to set the path for the elasticsearch executable used to run backwards compatibility tests from
via the commandline -D"tests.bwc.path"
- TESTS_BACKWARDS_COMPATIBILITY_VERSION - Static variable in class org.elasticsearch.test.ESBackcompatTestCase
-
- TESTS_CLIENT_RATIO - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
Key used to set the transport client ratio via the commandline -D"tests.client.ratio"
- TESTS_CLUSTER - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
Key used to eventually switch to using an external cluster and provide its transport addresses
- TESTS_ENABLE_MOCK_MODULES - Static variable in class org.elasticsearch.test.ESIntegTestCase
-
A boolean value to enable or disable mock modules.
- TestScript - Class in org.elasticsearch.search.aggregations.bucket.script
-
- TestScript() - Constructor for class org.elasticsearch.search.aggregations.bucket.script.TestScript
-
- testScriptMultiValued() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testScriptMultiValuedWithParams() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testScriptSingleValued() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testScriptSingleValuedWithParams() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- TestSearchContext - Class in org.elasticsearch.test
-
- TestSearchContext(ThreadPool, PageCacheRecycler, BigArrays, ScriptService, IndexService) - Constructor for class org.elasticsearch.test.TestSearchContext
-
- TestSearchContext(QueryShardContext) - Constructor for class org.elasticsearch.test.TestSearchContext
-
- TestSection - Class in org.elasticsearch.test.rest.section
-
Represents a test section, which is composed of a skip section and multiple executable sections.
- TestSection(String) - Constructor for class org.elasticsearch.test.rest.section.TestSection
-
- TestSeedPlugin() - Constructor for class org.elasticsearch.test.ESIntegTestCase.TestSeedPlugin
-
- TestShardRouting - Class in org.elasticsearch.cluster.routing
-
A helper that allows to create shard routing instances within tests, while not requiring to expose
different simplified constructors on the ShardRouting itself.
- TestShardRouting() - Constructor for class org.elasticsearch.cluster.routing.TestShardRouting
-
- testSingleValuedField() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testSingleValuedFieldGetProperty() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testSingleValuedFieldPartiallyUnmapped() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testSingleValuedFieldWithValueScript() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testSingleValuedFieldWithValueScriptWithParams() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- testStarted(Description) - Method in class org.elasticsearch.test.junit.listeners.LoggingListener
-
- testStarted(Description) - Method in class org.elasticsearch.test.junit.listeners.ReproduceInfoPrinter
-
- TestTemplateService - Class in org.elasticsearch.ingest
-
- TestTemplateService.MockTemplate - Class in org.elasticsearch.ingest
-
- testThatHostnameWorks() - Method in class org.elasticsearch.test.rest.client.StrictHostnameVerifierTests
-
- testThatIPV4Works() - Method in class org.elasticsearch.test.rest.client.StrictHostnameVerifierTests
-
- testThatIPv6WithBracketsWorks() - Method in class org.elasticsearch.test.rest.client.StrictHostnameVerifierTests
-
- testThatIPV6WithoutBracketWorks() - Method in class org.elasticsearch.test.rest.client.StrictHostnameVerifierTests
-
- testUnmapped() - Method in class org.elasticsearch.search.aggregations.metrics.AbstractNumericTestCase
-
- throttleAllocationDeciders() - Static method in class org.elasticsearch.test.ESAllocationTestCase
-
- throttleTimeInNanos() - Method in class org.elasticsearch.test.store.MockFSDirectoryService
-
- ThrowableWrapper(Throwable) - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchAssertions.ThrowableWrapper
-
- ThrowableWrapper() - Constructor for class org.elasticsearch.test.hamcrest.ElasticsearchAssertions.ThrowableWrapper
-
- ThrowingFields(Fields, ThrowingLeafReaderWrapper.Thrower) - Constructor for class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingFields
-
- ThrowingLeafReaderWrapper - Class in org.elasticsearch.test.engine
-
An FilterLeafReader that allows to throw exceptions if certain methods
are called on is.
- ThrowingLeafReaderWrapper(LeafReader, ThrowingLeafReaderWrapper.Thrower) - Constructor for class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper
-
- ThrowingLeafReaderWrapper.Flags - Enum in org.elasticsearch.test.engine
-
- ThrowingLeafReaderWrapper.Thrower - Interface in org.elasticsearch.test.engine
-
A callback interface that allows to throw certain exceptions for
methods called on the IndexReader that is wrapped by
ThrowingLeafReaderWrapper
- ThrowingLeafReaderWrapper.ThrowingFields - Class in org.elasticsearch.test.engine
-
Wraps a Fields but with additional asserts
- ThrowingLeafReaderWrapper.ThrowingTerms - Class in org.elasticsearch.test.engine
-
Wraps a Terms but with additional asserts
- ThrowingTerms(Terms, ThrowingLeafReaderWrapper.Thrower) - Constructor for class org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.ThrowingTerms
-
- timeEstimateCounter() - Method in class org.elasticsearch.test.TestSearchContext
-
- timeoutInMillis() - Method in class org.elasticsearch.test.TestSearchContext
-
- timeoutInMillis(long) - Method in class org.elasticsearch.test.TestSearchContext
-
- tmpPaths() - Method in class org.elasticsearch.test.ESTestCase
-
Returns a random number of temporary paths.
- toString() - Method in class org.elasticsearch.test.client.RandomizingClient
-
- toString() - Method in class org.elasticsearch.test.rest.client.http.HttpRequestBuilder
-
- toString() - Method in class org.elasticsearch.test.rest.client.http.HttpResponse
-
- toString() - Method in class org.elasticsearch.test.rest.RestTestCandidate
-
- totalIndexedDocs() - Method in class org.elasticsearch.test.BackgroundIndexer
-
- totalNumShards - Variable in class org.elasticsearch.test.ESIntegTestCase.NumShards
-
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.test.rest.Stash
-
- toXContent(XContentBuilder, ToXContent.Params) - Method in class org.elasticsearch.test.TestCustomMetaData
-
- Tracer() - Constructor for class org.elasticsearch.test.transport.MockTransportService.Tracer
-
- trackScores(boolean) - Method in class org.elasticsearch.test.TestSearchContext
-
- trackScores() - Method in class org.elasticsearch.test.TestSearchContext
-
- transport - Variable in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- TRANSPORT_BASE_PORT - Variable in class org.elasticsearch.test.InternalTestCluster
-
- TRANSPORT_CLIENT_PREFIX - Static variable in class org.elasticsearch.test.InternalTestCluster
-
- transportClient() - Method in class org.elasticsearch.test.InternalTestCluster
-
Returns a transport client
- transportClientPlugins() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Returns a collection of plugins that should be loaded when creating a transport client.
- transportClientPlugins() - Method in class org.elasticsearch.test.NodeConfigurationSource
-
Returns plugins that should be loaded in the transport client
- transportClientRatio - Variable in class org.elasticsearch.test.TestCluster
-
- transportClientSettings() - Method in class org.elasticsearch.test.discovery.ClusterDiscoveryConfiguration
-
- transportClientSettings() - Method in class org.elasticsearch.test.ESIntegTestCase
-
This method is used to obtain additional settings for clients created by the internal cluster.
- transportClientSettings() - Method in class org.elasticsearch.test.NodeConfigurationSource
-
- transportServiceAdapter(TransportServiceAdapter) - Method in class org.elasticsearch.test.transport.CapturingTransport
-
- transportServiceAdapter(TransportServiceAdapter) - Method in class org.elasticsearch.test.transport.MockTransportService.DelegateTransport
-
- TRUSTSTORE_PASSWORD - Static variable in class org.elasticsearch.test.rest.client.RestClient
-
- TRUSTSTORE_PATH - Static variable in class org.elasticsearch.test.rest.client.RestClient
-
- typeName() - Method in class org.elasticsearch.index.mapper.MockFieldMapper.FakeFieldType
-
- TYPES - Static variable in class org.elasticsearch.script.MockScriptEngine
-
- waitForDocs(long) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits until at least a give number of document is visible for searchers
- waitForDocs(long, BackgroundIndexer) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits until at least a give number of document is visible for searchers
- waitForDocs(long, int, TimeUnit, BackgroundIndexer) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits until at least a give number of document is visible for searchers
- waitForRelocation() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for all relocating shards to become active using the cluster health API.
- waitForRelocation(ClusterHealthStatus) - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits for all relocating shards to become active and the cluster has reached the given health status
using the cluster health API.
- waitNoPendingTasksOnAll() - Method in class org.elasticsearch.test.ESIntegTestCase
-
Waits until all nodes have no pending tasks.
- wipe(Set<String>) - Method in class org.elasticsearch.test.TestCluster
-
Wipes any data that a test can leave behind: indices, templates (except exclude templates) and repositories
- wipeAllTemplates(Set<String>) - Method in class org.elasticsearch.test.TestCluster
-
Removes all templates, except the templates defined in the exclude
- wipeCluster() - Method in class org.elasticsearch.test.rest.ESRestTestCase
-
- wipeIndices(String...) - Method in class org.elasticsearch.test.TestCluster
-
Deletes the given indices from the tests cluster.
- wipeRepositories(String...) - Method in class org.elasticsearch.test.TestCluster
-
Deletes repositories, supports wildcard notation.
- wipeTemplates(String...) - Method in class org.elasticsearch.test.TestCluster
-
Deletes index templates, support wildcard notation.
- withCircuitBreaking() - Method in class org.elasticsearch.common.util.MockBigArrays
-
- WRAP_READER_RATIO - Static variable in class org.elasticsearch.test.engine.MockEngineSupport
-
Allows tests to wrap an index reader randomly with a given ratio.
- wrapSearcher(String, Engine.Searcher, IndexSearcher, SearcherManager) - Method in class org.elasticsearch.test.engine.MockEngineSupport
-
- wrapTerms(String) - Method in interface org.elasticsearch.test.engine.ThrowingLeafReaderWrapper.Thrower
-
If this method returns true the Terms
instance for the given field
is wrapped with Thrower support otherwise no exception will be thrown for
the current Terms
instance or any other instance obtained from it.
- writeProperties(Path, String...) - Static method in class org.elasticsearch.plugins.PluginTestUtil
-
convenience method to write a plugin properties file
- writeTo(StreamOutput) - Method in class org.elasticsearch.test.hamcrest.ElasticsearchAssertions.ThrowableWrapper
-
- writeTo(StreamOutput) - Method in class org.elasticsearch.test.TestCustomMetaData
-