Skip to content
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 IT according to OpenSearch changes. #1326

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

Yury-Fridlyand
Copy link
Collaborator

Signed-off-by: Yury-Fridlyand [email protected]

Description

Request:

curl -s -XPUT http://localhost:9200/_plugins/_query/settings -H 'Content-Type: application/json' -d '{ "transient" : { "plugins.sql.query.state.city" : 200 }}'

Response was changed. Recently it was

{
  "error": {
    "root_cause": [
      {
        "type": "illegal_argument_exception",
        "reason": "transient setting [plugins.sql.query.state.city], not recognized"
      }
    ],
    "type": "illegal_argument_exception",
    "reason": "transient setting [plugins.sql.query.state.city], not recognized"
  },
  "status": 400
}

Tonight it was changed to

{
  "error": {
    "root_cause": [
      {
        "type": "settings_exception",
        "reason": "transient setting [plugins.sql.query.state.city], not recognized"
      }
    ],
    "type": "settings_exception",
    "reason": "transient setting [plugins.sql.query.state.city], not recognized"
  },
  "status": 400
}

Issues Resolved

Fix failing IT.

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@MaxKsyunz MaxKsyunz merged commit 4b3cdbb into opensearch-project:main Feb 7, 2023
@Yury-Fridlyand Yury-Fridlyand deleted the fix-plugin-it branch February 7, 2023 22:15
@Yury-Fridlyand
Copy link
Collaborator Author

@dai-chen dai-chen added the infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc. label Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Changes to infrastructure, testing, CI/CD, pipelines, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants