Skip to content
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

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

junweid62
Copy link
Contributor

@junweid62 junweid62 commented Sep 6, 2024

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

  • New functionality includes testing. (Fixes a test!)
  • Commits are signed per the DCO using --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.

Copy link
Member

@dbwiddis dbwiddis left a 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!

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.55%. Comparing base (bbd089b) to head (0c7c77a).
Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

@dbwiddis dbwiddis merged commit 1b055e8 into opensearch-project:main Sep 6, 2024
20 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 6, 2024
* 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>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 6, 2024
* 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>
dbwiddis pushed a commit that referenced this pull request Sep 7, 2024
…#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]>
dbwiddis pushed a commit that referenced this pull request Sep 7, 2024
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Compile failure with new MLTask Constructor
3 participants