OpenSearch/x-pack
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
..
dev-tools
docs [DOCS] Reorder bullet items in CCS security docs (#48501) 2019-10-25 09:11:49 -04:00
license-tools
plugin Wrap ResponseException in AssertionError in ILM/CCR tests (#48489) 2019-10-28 07:37:52 -07:00
qa Allow more time for restart tests to reach yellow state. (#48434) (#48480) 2019-10-24 12:07:02 -05:00
snapshot-tool Explicitly declare test fixture usage (#48166) 2019-10-17 10:05:40 +03:00
test Document SAML APIs (#45105) (#47909) 2019-10-11 16:34:11 +03:00
transport-client
NOTICE.txt
README.md
build.gradle

README.md

Elastic License Functionality

This directory tree contains files subject to the Elastic License. The files subject to the Elastic License are grouped in this directory to clearly separate them from files licensed under the Apache License 2.0.