-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix create_index/create_index_with_IOException issue caused by OpenSearch PR change #1899
Merged
MaxKsyunz
merged 9 commits into
opensearch-project:main
from
Bit-Quill:dev/createIndexFix
Jul 26, 2023
Merged
Changes from 3 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
843cf0a
Applying Google Java code format changes to core/src/main/java/org/op…
MitchellGale 7696251
Added setDefaultMediaType for create_index and create_index_with_IOEx…
MitchellGale f61286c
Revert "Applying Google Java code format changes to core/src/main/jav…
MitchellGale d6c445f
Moved set default media to beforeall
MitchellGale 5a19575
Removed type comment
MitchellGale 3b9f5f3
Removed wildcard import.
MitchellGale 2f4b8f7
Removed wildcard import.
MitchellGale 8b0e8af
added import for before all and before each
MitchellGale a2a588e
Fixed import order for OpenSearchRestClientTest.java
MitchellGale File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this expected? How does this work when a new cluster is deployed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before 8636 core used
JSON
hardcoded. Now it usesDefaultMediaType
which is unset (null
) by default.You can re-run these tests on a branch to see the failure.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the setDefaultMediaType to a
BeforeAll
. but yes I believe it is the expected Media Type for these tests.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Yury-Fridlyand I looked into this yesterday, I couldn't figure out the need to introduce a new function for setting default type in core. Probably I should comment in 8636.