OpenSearch/x-pack/plugin
Gordon Brown c353ad71fe
Wrap ResponseException in AssertionError in ILM/CCR tests (#48489)
When checking for the existence of a document in the ILM/CCR integration
tests, `assertDocumentExists` makes an HTTP request and checks the
response code. However, if the repsonse code is not successful, the call
will throw a `ResponseException`. `assertDocumentExists` is often called
inside an `assertBusy`, and wrapping the `ResponseException` in an
`AssertionError` will allow the `assertBusy` to retry.

In particular, this fixes an issue with `testCCRUnfollowDuringSnapshot`
where the index in question may still be closed when the document is
requested.
2019-10-28 07:37:52 -07:00
..
analytics Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
ccr Multiple remote connection strategy support (#48496) 2019-10-25 09:29:41 -06:00
core Resolve the role query and the number of docs lazily (#48036) 2019-10-25 18:12:29 +02:00
deprecation Add migration tool checks for `_field_names` disabling (#46972) 2019-09-25 10:15:10 +02:00
enrich Muted verifying monitoring integration in enrich integration test. 2019-10-24 08:39:53 +02:00
frozen-indices Remove unused transport action from TransportFreezeIndexAction (#47992) 2019-10-14 16:20:37 +02:00
graph Fix XPackPlugin usages in tests (#47252) 2019-10-02 12:36:02 +02:00
ilm Wrap ResponseException in AssertionError in ILM/CCR tests (#48489) 2019-10-28 07:37:52 -07:00
logstash Remove description from xpack feature sets (#43065) 2019-06-11 09:22:58 -07:00
mapper-flattened Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
ml Mute RegressionIT.testStopAndRestart (#48575) (#48576) 2019-10-28 13:08:11 +01:00
monitoring Merge remote-tracking branch 'es/7.x' into enrich-7.x 2019-10-10 14:44:05 +02:00
rollup Ensure random timestamps are within search boundary (#38753) (#47787) 2019-10-10 14:38:01 +02:00
search-business-rules Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
security Improve SAML tests resiliency to auto-formatting (#48517) 2019-10-27 16:06:23 +00:00
spatial Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
sql SQL: [Tests] Renable CliSecurityIT (#48581) 2019-10-28 15:08:38 +01:00
src/test Change policy_id to list type in slm.get_lifecycle (#47766) 2019-10-25 09:04:25 +10:00
transform [Transform] do not fail checkpoint creation due to global checkpoint mismatch (#48423) 2019-10-24 12:22:07 +02:00
vectors Deprecate the sparse_vector field type. (#48368) 2019-10-23 16:35:03 -07:00
voting-only-node Remove eclipse conditionals (#44075) 2019-10-03 11:55:00 +03:00
watcher Update jakarta mail dependency to 1.6.4 (#47810) 2019-10-11 09:24:11 +02:00
build.gradle Convert RunTask to use testclusers, remove ClusterFormationTasks (#47572) 2019-10-08 14:43:29 +03:00