-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Adds Integration Tests for Search Pipeline #16561
Adds Integration Tests for Search Pipeline #16561
Conversation
@msfroh @dbwiddis @saratvemulapalli can you take a look? |
1b84e5b
to
53ae28a
Compare
❌ Gradle check result for 53ae28a: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Owais <[email protected]>
53ae28a
to
98dfb5b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #16561 +/- ##
============================================
+ Coverage 72.00% 72.12% +0.11%
- Complexity 65038 65104 +66
============================================
Files 5313 5313
Lines 303454 303469 +15
Branches 43910 43910
============================================
+ Hits 218510 218876 +366
+ Misses 67040 66672 -368
- Partials 17904 17921 +17 ☔ View full report in Codecov by Sentry. |
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.
Yay more tests!
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.
Thanks for adding some tests! Apologies in advance for the nitpicking :)
...c/internalClusterTest/java/org/opensearch/search/pipeline/common/SearchPipelineCommonIT.java
Outdated
Show resolved
Hide resolved
...c/internalClusterTest/java/org/opensearch/search/pipeline/common/SearchPipelineCommonIT.java
Outdated
Show resolved
Hide resolved
...c/internalClusterTest/java/org/opensearch/search/pipeline/common/SearchPipelineCommonIT.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Owais <[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.
These tests are flexing core functionality (default pipelines, update configuration, etc). Do they belong in the integ tests for the search-pipeline-common
module? Of course, testing that stuff from core is tricky, because there are no processors registered in core.
As @dbwiddis said, "Yay more tests!" -- while I'd love to see core functionality tested from core, I'm also happy to see integ tests for core functionality in this module (since that's a lot better than not having integ tests anywhere).
Do you think this is not the right place to add these tests? The reason you mentioned above was the sole reason I added it in |
* Adds Integration Tests for Search Pipeline Signed-off-by: Owais <[email protected]> * Addressed comments Signed-off-by: Owais <[email protected]> --------- Signed-off-by: Owais <[email protected]> (cherry picked from commit 46ded36) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Adds Integration Tests for Search Pipeline * Addressed comments --------- (cherry picked from commit 46ded36) Signed-off-by: Owais <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
Adds Integration Tests for Search Pipeline
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
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.