Skip to content

Move test codecs to test sources#3151

Open
reta wants to merge 4 commits intoopensearch-project:mainfrom
reta:move.test.codecs
Open

Move test codecs to test sources#3151
reta wants to merge 4 commits intoopensearch-project:mainfrom
reta:move.test.codecs

Conversation

@reta
Copy link
Copy Markdown
Contributor

@reta reta commented Mar 9, 2026

Description

Move test codecs to test sources

Related Issues

There are no compelling reasons to keep test codecs available in production code.

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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: Andriy Redko <drreta@gmail.com>
org.opensearch.knn.index.codec.backward_codecs.KNN10010Codec.KNN10010Codec
org.opensearch.knn.index.codec.backward_codecs.KNN1030Codec.KNN1030Codec
org.opensearch.knn.index.codec.KNN1040Codec.KNN1040Codec
org.opensearch.knn.index.codec.util.UnitTestCodec
Copy link
Copy Markdown
Contributor Author

@reta reta Mar 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is test codec and should be inside test source set

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.73%. Comparing base (ad5684a) to head (45e49e7).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3151      +/-   ##
============================================
+ Coverage     82.66%   82.73%   +0.06%     
- Complexity     3977     3979       +2     
============================================
  Files           433      432       -1     
  Lines         14764    14756       -8     
  Branches       1877     1877              
============================================
+ Hits          12205    12208       +3     
+ Misses         1796     1787       -9     
+ Partials        763      761       -2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kotwanikunal
Copy link
Copy Markdown
Member

CIs can be re-run post #3155 merge.

@reta
Copy link
Copy Markdown
Contributor Author

reta commented Mar 20, 2026

@navneet1v wondering if anything is holding this change off? thanks!

@navneet1v
Copy link
Copy Markdown
Collaborator

@reta nothing is holding up. Its just CIs and updated code.

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.

3 participants