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

Re-enable integration tests across multiple versions of OpenSearch #154

Merged

Conversation

dblock
Copy link
Member

@dblock dblock commented Apr 25, 2022

Signed-off-by: dblock [email protected]

Description

  • Re-adds tests that show that the new version of the client works against OpenSearch 1.x.
  • Adds tests against OpenSearch main, 2.x and 2.0 branches.

Issues Resolved

Partially addresses #152.

Check List

  • 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.

@dblock dblock force-pushed the integration-opensearch-1.x branch 2 times, most recently from 2eb2732 to ee9d6a1 Compare April 25, 2022 21:26
@dblock dblock force-pushed the integration-opensearch-1.x branch 2 times, most recently from bad7dcf to 7c55d46 Compare April 25, 2022 21:56
@dblock dblock requested a review from VachaShah April 25, 2022 21:56
@dblock dblock changed the title Re-add integration tests with OpenSeearch 1.x. Re-enable integration tests with OpenSearch 1.x, add tests for main, 2.x and 2.0 branches. Apr 25, 2022
@dblock dblock requested a review from nknize April 25, 2022 22:06
@dblock dblock marked this pull request as ready for review April 25, 2022 22:09
@dblock dblock requested review from a team and madhusudhankonda as code owners April 25, 2022 22:09
@dblock dblock changed the title Re-enable integration tests with OpenSearch 1.x, add tests for main, 2.x and 2.0 branches. Re-enable integration tests across multiple versions of OpenSearch Apr 25, 2022
Copy link
Collaborator

@VachaShah VachaShah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @dblock for adding this!!

Just a few minor comments.

@@ -17,18 +17,23 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ 11 ]
entry:
- { opensearch_ref: '1.x', java: 11 }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to test against 1.x branch as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may be releasing security patches, e.g. 1.3.2, so yes.

.gitignore Outdated Show resolved Hide resolved
@dblock dblock force-pushed the integration-opensearch-1.x branch from b2bf824 to 5fcddec Compare April 26, 2022 17:19
@dblock dblock requested a review from VachaShah April 26, 2022 17:19
VachaShah
VachaShah previously approved these changes Apr 26, 2022
- { opensearch_version: 1.2.2, java: 11 }
- { opensearch_version: 1.2.3, java: 11 }
- { opensearch_version: 1.2.4, java: 11 }
- { opensearch_version: 1.3.0, java: 11 }
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I missed this earlier, you can also add 1.3.1 in here - on 1.x branch we have https://github.com/opensearch-project/opensearch-java/blob/1.x/.github/workflows/test-integration.yml.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@saratvemulapalli saratvemulapalli merged commit e14fb59 into opensearch-project:main May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants