-
Notifications
You must be signed in to change notification settings - Fork 158
Add Unit Tests for MCP feature #3787
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
base: main
Are you sure you want to change the base?
Add Unit Tests for MCP feature #3787
Conversation
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
common/src/test/java/org/opensearch/ml/common/connector/McpConnectorTest.java
Show resolved
Hide resolved
ml-algorithms/src/test/java/org/opensearch/ml/engine/algorithms/agent/AgentUtilsTest.java
Outdated
Show resolved
Hide resolved
are we planning to add any integration test too? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3787 +/- ##
============================================
+ Coverage 77.98% 78.86% +0.88%
- Complexity 7316 7383 +67
============================================
Files 655 655
Lines 33037 33037
Branches 3708 3708
============================================
+ Hits 25764 26055 +291
+ Misses 5688 5354 -334
- Partials 1585 1628 +43
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@dhrubo-os, not in this PR. Building ITs for MCP use case is not straight forward, because we would want an MCP server running to test the capability. We can perhaps use the MCP Server in openSearch to write ITs and test, I will look into it. |
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
Description
Adds Unit tests for MCP feature
Related Issues
Resolves #3743
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.