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

Create Integration Test for Extension Rest Requests #826

Open
5 tasks
dbwiddis opened this issue Jun 20, 2023 · 0 comments
Open
5 tasks

Create Integration Test for Extension Rest Requests #826

dbwiddis opened this issue Jun 20, 2023 · 0 comments
Labels
testing Unit or integration testing

Comments

@dbwiddis
Copy link
Member

The OpenSearch RestSendToExtensionRequest has a lot of key functionality for extensions but is not covered in tests. New integration tests should be written to:

  • Validate proper JSON format of the response
  • Validate that both routes and replaced routes produce the same output
  • Validate that long-running requests return a proper timeout message
  • Validate that unconsumed parameters on the extension side produce a correct unconsumed parameter message
  • Validate that unconsumed content on the extension side produces a correct unconsumed content message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Unit or integration testing
Projects
None yet
Development

No branches or pull requests

1 participant