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

update remote model auto deploy tests in predict runner #2237

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

Zhangxunmt
Copy link
Collaborator

Description

The old test of testExecuteTask_OnLocalNode_RemoteModel is not valid anymore after the auto deployment. This new test replace the old one with newest auto deployment.

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • 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.

Signed-off-by: Xun Zhang <xunzh@amazon.com>
@ylwu-amzn
Copy link
Collaborator

@Zhangxunmt
Copy link
Collaborator Author

@Zhangxunmt suggest add some IT for auto deploy in https://github.com/opensearch-project/ml-commons/blob/main/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java

Yes will do that in a separate PR. This one unblocks the current build for us and other teams.

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.28%. Comparing base (189f2a2) to head (834fe14).
Report is 10 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #2237      +/-   ##
============================================
- Coverage     81.90%   81.28%   -0.63%     
- Complexity     5719     5828     +109     
============================================
  Files           547      557      +10     
  Lines         23075    23810     +735     
  Branches       2378     2480     +102     
============================================
+ Hits          18900    19354     +454     
- Misses         3230     3432     +202     
- Partials        945     1024      +79     
Flag Coverage Δ
ml-commons 81.28% <ø> (-0.63%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Zhangxunmt Zhangxunmt merged commit 1a8b6eb into opensearch-project:main Mar 20, 2024
7 of 12 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 20, 2024
Signed-off-by: Xun Zhang <xunzh@amazon.com>
(cherry picked from commit 1a8b6eb)
opensearch-trigger-bot bot pushed a commit that referenced this pull request Mar 20, 2024
Signed-off-by: Xun Zhang <xunzh@amazon.com>
(cherry picked from commit 1a8b6eb)
austintlee pushed a commit to austintlee/ml-commons that referenced this pull request Mar 20, 2024
Zhangxunmt added a commit that referenced this pull request Mar 20, 2024
Signed-off-by: Xun Zhang <xunzh@amazon.com>
(cherry picked from commit 1a8b6eb)

Co-authored-by: Xun Zhang <xunzh@amazon.com>
Zhangxunmt added a commit that referenced this pull request Mar 20, 2024
Signed-off-by: Xun Zhang <xunzh@amazon.com>
(cherry picked from commit 1a8b6eb)

Co-authored-by: Xun Zhang <xunzh@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants