OpenSearch/x-pack/plugin
David Roberts 77cc6d5bad [TEST] Work around _cat/indices bug with security enabled (#47160)
When the ML native multi-node tests use _cat/indices/_all
and the request goes to a non-master node, _all is
translated to a list of concrete indices by the authz layer
on the coordinating node before the request is forwarded
to the master node. Then it is possible for the master
node to return an index_not_found_exception if one of
the concrete indices that was expanded on the
coordinating node has been deleted in the meantime.
(#47159 has been opened to track the underlying problem.)

It has been observed that the index that gets deleted when
the problem affects the ML native multi-node tests is
always the ML notifications index. The tests that fail are
only interested in the presence or absense of ML results
indices. Therefore the workaround is to only _cat indices
that match the ML results index pattern.

Fixes #45652
2019-09-26 13:29:40 +01:00
..
analytics Replace the SearchContext with QueryShardContext when building aggregator factories (#46527) 2019-09-11 16:43:30 +02:00
ccr Add the ability to require an ingest pipeline (#46847) 2019-09-19 16:37:45 -04:00
core [Backport] Validate `query` field when creating roles (#46275) (#47094) 2019-09-26 17:57:36 +10:00
deprecation Add migration tool checks for `_field_names` disabling (#46972) 2019-09-25 10:15:10 +02:00
frozen-indices Merge ShardSearchTransportRequest and ShardSearchLocalRequest (#46996) (#47081) 2019-09-26 09:20:53 +02:00
graph Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
ilm Add support for POST requests to SLM Execute API (#47061) 2019-09-25 16:15:10 -06:00
logstash Remove description from xpack feature sets (#43065) 2019-06-11 09:22:58 -07:00
mapper-flattened Add support for 'flattened object' fields. (#43762) 2019-07-01 12:08:50 +03:00
ml [TEST] Work around _cat/indices bug with security enabled (#47160) 2019-09-26 13:29:40 +01:00
monitoring Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
rollup Add support for aliases in queries on _index. (#46944) 2019-09-23 13:21:37 -07:00
search-business-rules Replace SearchContext with QueryShardContext in query builder tests (#46978) 2019-09-23 20:24:02 +02:00
security Remove unused private methods and fields (#47154) 2019-09-26 12:49:21 +02:00
spatial Replace SearchContext with QueryShardContext in query builder tests (#46978) 2019-09-23 20:24:02 +02:00
sql Mute JdbcCsvSpecIT.testAverageWithOneValueAndLimit 2019-09-25 10:36:53 +02:00
src/test [Backport] Validate `query` field when creating roles (#46275) (#47094) 2019-09-26 17:57:36 +10:00
transform [Transform] Replace transforms with transform, index constants (#47023) 2019-09-25 08:31:43 +02:00
vectors First round of optimizations for vector functions. (#46294) 2019-09-04 14:45:57 -07:00
voting-only-node Close nodes properly in Coordinator tests (#44967) 2019-07-30 11:47:36 +01:00
watcher Remove unused private methods and fields (#47154) 2019-09-26 12:49:21 +02:00
build.gradle Skip feature aware check on JDK 14 (#45928) 2019-08-23 17:38:15 -04:00