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 neural_query_enricher bwc tests #652

Conversation

zhichao-aws
Copy link
Member

@zhichao-aws zhichao-aws commented Mar 20, 2024

Description

After the backport PR of #614 get merged, we should update the bwc tests for neural_query_enricher neural_sparse search. Update the behavior of old cluster in version 2.13.

  • add neural_query_enricher functional test for old cluster
  • remove repetitive code in neural_query_enricher bwc test

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed as 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: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Signed-off-by: zhichao-aws <zhichaog@amazon.com>
Copy link

codecov bot commented Mar 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.19%. Comparing base (cc6a6b2) to head (9332a21).
Report is 3 commits behind head on main.

❗ Current head 9332a21 differs from pull request most recent head 6657c9e. Consider uploading reports for the commit 6657c9e to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #652      +/-   ##
============================================
+ Coverage     84.04%   84.19%   +0.14%     
+ Complexity      744      743       -1     
============================================
  Files            59       59              
  Lines          2313     2309       -4     
  Branches        374      370       -4     
============================================
  Hits           1944     1944              
  Misses          214      214              
+ Partials        155      151       -4     

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

Signed-off-by: zhichao-aws <zhichaog@amazon.com>
@vibrantvarun
Copy link
Member

Looks good to me.
Can you properly describe about the changes in the description above? For me the current description looks little vague.

@zhichao-aws zhichao-aws merged commit 4b71e49 into opensearch-project:main Apr 10, 2024
68 checks passed
@zhichao-aws zhichao-aws added the backport 2.x Label will add auto workflow to backport PR to 2.x branch label Apr 10, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 10, 2024
* update neural_query_enricher bwc

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* changelog

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* nit

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

---------

Signed-off-by: zhichao-aws <zhichaog@amazon.com>
(cherry picked from commit 4b71e49)
zhichao-aws added a commit that referenced this pull request Apr 10, 2024
* update neural_query_enricher bwc

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* changelog

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

* nit

Signed-off-by: zhichao-aws <zhichaog@amazon.com>

---------

Signed-off-by: zhichao-aws <zhichaog@amazon.com>
(cherry picked from commit 4b71e49)

Co-authored-by: zhichao-aws <zhichaog@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Label will add auto workflow to backport PR to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants