-
Notifications
You must be signed in to change notification settings - Fork 73
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
[Extensions] Enable Integration Tests for AD Extension #913
Draft
joshpalis
wants to merge
28
commits into
opensearch-project:feature/extensions
Choose a base branch
from
joshpalis:integ
base: feature/extensions
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Joshua Palis <[email protected]>
…ion test cluster set up and integration test execution Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
…SDK equivalents, commenting out BWC tests for now Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
…penSearchRestTestCase, refactored SDKRestClient intialization, renamed sdkClient() as sdkRestClient() Signed-off-by: Joshua Palis <[email protected]>
… configure new SDKClient with for use in integration testing, removed test for AD Plugin enabled Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
…om checks Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Codecov Report
@@ Coverage Diff @@
## feature/extensions #913 +/- ##
=====================================================
Coverage 42.86% 42.86%
Complexity 2420 2420
=====================================================
Files 301 301
Lines 18168 18168
Branches 1873 1873
=====================================================
+ Hits 7787 7788 +1
+ Misses 9806 9805 -1
Partials 575 575
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
…ings are populated after initialization Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
…om distribution build Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Signed-off-by: Joshua Palis <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
To run integration tests, a new task named
anomalyDetection
has been created in place of therun
task (See opensearch-project/opensearch-sdk-java#789 for more context)../gradlew anomalyDetection
./gradlew integTest
Issues Resolved
Part of opensearch-project/opensearch-sdk-java#724
Active WIP
All REST integration tests use an
SDKRestClient
to invoke all the exposed REST APIs of AD Extension. The tests then validate the behavior of each API by checking the response string/ exception type. Though the requests successfully invokes the corresponding transport actions, the request times out before a response is received by the caller. See the below logs for an example :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.