[8.x](backport #4012) [Integration testing] Remove AltErr and only expect 400 from ES bulk API#4030
Merged
ycombinator merged 4 commits into8.xfrom Oct 30, 2024
Merged
Conversation
Contributor
Author
|
Cherry-pick of 1ae9ab6 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
Contributor
|
buildkite test it |
jlind23
previously approved these changes
Oct 22, 2024
Contributor
Author
|
This pull request has not been merged yet. Could you please review and merge it @ycombinator? 🙏 |
This was referenced Oct 29, 2024
Fix mergify mess
f5ddc88 to
0850e31
Compare
Contributor
|
buildkite test this |
b67faee to
7b1d0d9
Compare
ycombinator
approved these changes
Oct 30, 2024
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





What is the problem this PR solves?
This PR expects only a 400 HTTP response code from the Elasticsearch bulk API in integration tests when invalid index name is specified. Concretely, it removes the
AltErrfield temporarily introduced in #4001 which was allowing the tests to accept an alternate error from Elasticsearch.Related: elastic/elasticsearch#114869
This is an automatic backport of pull request #4012 done by Mergify.