-
Notifications
You must be signed in to change notification settings - Fork 35
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 and Refactor Test with Builder Pattern for Issue #2825 #859
Conversation
Signed-off-by: Junwei Dai <[email protected]>
src/test/java/org/opensearch/flowframework/workflow/DeployModelStepTests.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Junwei Dai <[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.
LGTM! Thanks for the quick fix!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #859 +/- ##
=========================================
Coverage 77.55% 77.55%
Complexity 966 966
=========================================
Files 97 97
Lines 4531 4531
Branches 422 422
=========================================
Hits 3514 3514
Misses 835 835
Partials 182 182 ☔ View full report in Codecov by Sentry. |
* Fix: Use @builder for constructor in test Signed-off-by: Junwei Dai <[email protected]> * Fix: change parameter for different test case Signed-off-by: Junwei Dai <[email protected]> --------- Signed-off-by: Junwei Dai <[email protected]> Co-authored-by: Junwei Dai <[email protected]> (cherry picked from commit 1b055e8) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix: Use @builder for constructor in test Signed-off-by: Junwei Dai <[email protected]> * Fix: change parameter for different test case Signed-off-by: Junwei Dai <[email protected]> --------- Signed-off-by: Junwei Dai <[email protected]> Co-authored-by: Junwei Dai <[email protected]> (cherry picked from commit 1b055e8) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…#2825 (#861) Fix and Refactor Test with Builder Pattern for Issue #2825 (#859) * Fix: Use @builder for constructor in test * Fix: change parameter for different test case --------- (cherry picked from commit 1b055e8) Signed-off-by: Junwei Dai <[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> Co-authored-by: Junwei Dai <[email protected]>
…2825 (#860) Fix and Refactor Test with Builder Pattern for Issue #2825 (#859) * Fix: Use @builder for constructor in test * Fix: change parameter for different test case --------- (cherry picked from commit 1b055e8) Signed-off-by: Junwei Dai <[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> Co-authored-by: Junwei Dai <[email protected]>
Description
Ensured compatibility with the new parameter added in opensearch-project/ml-commons#2825.
Related Issues
Resolves #858
Should fix compile errors causing #856.
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.