-
Notifications
You must be signed in to change notification settings - Fork 34
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
Added a framework for end-to-end tests #1022
Added a framework for end-to-end tests #1022
Conversation
* Only contains sample queries, not a full suite. All tests make use of the integration test docker cluster. * Can run the tests with "sbt e2etest/test" Signed-off-by: Norman Jordan <[email protected]>
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.
Looks great - I would add more details about the docker-compose services including each service responsibilities and how the sequence of call if operated by the different E2E use cases ...
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.
This looks great
I'm missing some detailed review and call diagram sequence of how the E2E operates for each case:
- SQL Queries for Spark Master
- PPL Queries for Spark Master
- SQL Queries for OpenSearch Async API
- PPL Queries for OpenSearch Async API
What are the functions of each docker-compose service and which sequence the call each other
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.
Added some documentation with diagrams to explain how these queries are executed.
@normanj-bitquill |
* Documented how queries are processed in the integ-test cluster * Documented how to use the Query Workbench with the integ-test cluster * Removed the shading of Jackson libraries (fixes opensearch-project#973) Signed-off-by: Norman Jordan <[email protected]>
@YANG-DB I added some documentation about how to use the query workbench. |
@YANG-DB This now includes a fix for #973 I disabled shading the Jackson libraries. Saving a dataset in Spark to CSV or JSON requires use of Jackson libraries. If this part of the PR is controversial, I can probably switch to Parquet, but it will add some complexity for comparing to expected results. |
Description
Adds a testing framework for end-to-end tests. The integration test docker cluster is used for the tests. Tests can run against Spark or OpenSearch (using the async query API).
To run the end-to-end tests:
Related Issues
#647
Check List
--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.