Skip to content

Move test codecs to test sources#3151

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

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

Conversation

@reta
Copy link
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
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

codecov bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.49%. Comparing base (a2372a3) to head (ba7c29f).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #3151      +/-   ##
============================================
+ Coverage     82.43%   82.49%   +0.05%     
- Complexity     3874     3875       +1     
============================================
  Files           418      417       -1     
  Lines         14474    14466       -8     
  Branches       1851     1851              
============================================
+ Hits          11932    11934       +2     
+ Misses         1782     1773       -9     
+ Partials        760      759       -1     

☔ 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
Member

CIs can be re-run post #3155 merge.

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