-
Notifications
You must be signed in to change notification settings - Fork 42
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
Fix tests to handle ambiguous mlClient method signature #995
Conversation
Signed-off-by: Daniel Widdis <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #995 +/- ##
=========================================
Coverage 77.57% 77.57%
Complexity 993 993
=========================================
Files 99 99
Lines 4714 4714
Branches 431 431
=========================================
Hits 3657 3657
Misses 877 877
Partials 180 180 ☔ 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.
I fixed this on my local with the current change I am working on. Thanks for the PR!
src/test/java/org/opensearch/flowframework/workflow/DeleteConnectorStepTests.java
Show resolved
Hide resolved
Signed-off-by: Daniel Widdis <[email protected]> (cherry picked from commit 4b92fb8) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
#996) Fix tests to handle ambiguous mlClient method signature (#995) (cherry picked from commit 4b92fb8) Signed-off-by: Daniel Widdis <[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
Following opensearch-project/ml-commons#3382, the ML Client has multiple method signatures matching
deleteConnector(String, Object)
.Updates tests that were failing due to this ambiguity.
Related Issues
Resolves failing compilation and tests such as https://github.com/opensearch-project/flow-framework/actions/runs/12784028161/job/35636228362
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.