-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[BUG] OpenSearch 2.1.0 SNAPSHOT recent changes fail security plugin integration tests #3554
Comments
Security plugin has to downgrade to OpenSearch 2.0.0 because of this issue: opensearch-project/security#1882 |
@reta 😄 It's not likely related to the parsing change in Node Sniffer, because the change is limited to the Sniffer, and Sniffer is a separate library based on Rest Client, which is not used by security plugin. All json format data is parsed by |
👀 |
In my point of view, the error The error message for the actual test failure is:
|
Thanks @xuezhou25 @dreamer-89 @tlfeng for helping with this issue! |
Draw a conclusion here, looks like security plugin have to do nothing with the test, since the behavior of "type" parameter in the REST API is changed back to the same as 2.0.0 in the commit 6462a54, "type" is not allowed as a parameter. |
A quick clarification on the conclusion: The fix in security plugin tests is a part of the version bump PR. |
Describe the bug
JSON is not parsed properly by Jackson.
To Reproduce
The failing GHA: https://github.com/opensearch-project/security/runs/6807080046?check_suite_focus=true
One of the failing tests: https://github.com/opensearch-project/security/blob/f431ec2201e1466b7c12528347a1f54cf64387c9/src/test/java/org/opensearch/security/dlic/rest/api/RolesMappingApiTest.java#L51
Running the test reproduces the issue.
Plugins
Security plugin
Additional context
Stacktrace:
The text was updated successfully, but these errors were encountered: