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

Adding Backward Compatibility Tests for k-NN #226

Merged

Conversation

naveentatikonda
Copy link
Member

Signed-off-by: Naveen Tatikonda navtat@amazon.com

Description

Adding Backward Compatibility Tests(Mixed Cluster test, Rolling upgrade test, Full restart upgrade test) to k-NN

Issues Resolved

#84

Check List

  • 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.

.github/workflows/CI.yml Outdated Show resolved Hide resolved
@VijayanB
Copy link
Member

@naveentatikonda do we need those binary files to be checked in? if not, can you add it to .gitignore files?

@VijayanB VijayanB linked an issue Nov 19, 2021 that may be closed by this pull request
@naveentatikonda
Copy link
Member Author

naveentatikonda commented Nov 19, 2021

@naveentatikonda do we need those binary files to be checked in? if not, can you add it to .gitignore files?

Yes Vijay, we need to check-in the binary files. We need them to run the BWCTests. Those are the gradle assemble zips of previous k-NN plugin versions and libKNNIndexV2_0_11.so

@jmazanec15
Copy link
Member

@naveentatikonda could you add in the description whats actions the tests are performing to confirm a change is backwards compatible?

.github/workflows/CI.yml Outdated Show resolved Hide resolved
Testing.md Outdated Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
build.gradle Show resolved Hide resolved
build.gradle Outdated Show resolved Hide resolved
build.gradle Show resolved Hide resolved
src/test/java/org/opensearch/knn/ODFERestTestCase.java Outdated Show resolved Hide resolved
src/test/java/org/opensearch/knn/ODFERestTestCase.java Outdated Show resolved Hide resolved
@naveentatikonda naveentatikonda force-pushed the BWC_Tests_k-NN branch 3 times, most recently from 3c0e4b9 to 24add37 Compare November 23, 2021 01:25
build.gradle Outdated Show resolved Hide resolved
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
@naveentatikonda
Copy link
Member Author

naveentatikonda commented Nov 23, 2021

@jmazanec15 @VijayanB updated the code as per our discussion offline

@codecov-commenter
Copy link

codecov-commenter commented Nov 23, 2021

Codecov Report

Merging #226 (9a8ff20) into main (d89f241) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##               main     #226   +/-   ##
=========================================
  Coverage     83.21%   83.21%           
  Complexity      864      864           
=========================================
  Files           123      123           
  Lines          3777     3777           
  Branches        358      358           
=========================================
  Hits           3143     3143           
  Misses          474      474           
  Partials        160      160           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d89f241...9a8ff20. Read the comment docs.

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
jmazanec15
jmazanec15 previously approved these changes Nov 29, 2021
Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
@naveentatikonda naveentatikonda merged commit 957e27e into opensearch-project:main Nov 29, 2021
martin-gaievski pushed a commit to martin-gaievski/k-NN that referenced this pull request Mar 7, 2022
* Adding Backward Compatibility Tests for k-NN

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>

* Delete unnecessary Binary files

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>

* Updated Developer Guide and refactored code

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
martin-gaievski pushed a commit to martin-gaievski/k-NN that referenced this pull request Mar 7, 2022
* Adding Backward Compatibility Tests for k-NN

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>

* Delete unnecessary Binary files

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>

* Updated Developer Guide and refactored code

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
Signed-off-by: Martin Gaievski <gaievski@amazon.com>
martin-gaievski pushed a commit to martin-gaievski/k-NN that referenced this pull request Mar 30, 2022
* Adding Backward Compatibility Tests for k-NN

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>

* Delete unnecessary Binary files

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>

* Updated Developer Guide and refactored code

Signed-off-by: Naveen Tatikonda <navtat@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add backwards compatibility tests for automation
4 participants