-
Notifications
You must be signed in to change notification settings - Fork 283
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
Backwards Compatibility Tests Draft #1666
Conversation
BWC tooling is built with gradle 6, which has breaking changes that are not compatiable with gradle 7. In order to support BWC tests we need to align with the OpenSearch's gradle version for the 1.3 release. See Also: * Gradle 7 PR in OpenSearch opensearch-project/OpenSearch#1622 * Distribution build bugs encountered by plugins opensearch-project/opensearch-build#1247 * Revert of Gradle 7 PR in OpenSearch opensearch-project/OpenSearch#1657 Signed-off-by: Peter Nied <[email protected]>
Following example from: opensearch-project/common-utils#121 Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
…ssion syntax Signed-off-by: Peter Nied <[email protected]>
Signed-off-by: Peter Nied <[email protected]>
Using opensearch-project/anomaly-detection#158 as a template, created those changes as a seperate gradle file. Gradlew execution of tests has been implemented, but untested. The tests themselves have been started but do not have the actual security plugin setup/validation logic that we would like to use. Scan for TODO within the files. Signed-off-by: Peter Nied <[email protected]>
NOTE: This pull request is not intended to be merged, its but serves as a starting point for taking these tests across the finish line. |
@peternied Looks like this PR is changing the existing |
String baseName = "securityBwcCluster" | ||
String bwcFilePath = "src/test/resources/bwc" | ||
|
||
2.times {i -> |
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.
can you add a comment here please explaining why we need two clusters here (just like you did below)
Description
Using opensearch-project/anomaly-detection#158 as a template.
Gradlew execution of tests has been implemented, but untested. The
tests themselves have been started but do not have the actual security
plugin setup/validation logic that we would like to use. Scan for TODO
within the files.
NOTE: Final commit 75bc096 should be under consideration, all other changes were needed for the gradle downgrade, in #1661
Approximant guess of
Issues Resolved
Check List
New functionality includes testingBy 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.