Skip to content

Adjust base knn format assert assertOffHeapByteSize #14797

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

Merged
merged 6 commits into from
Jun 17, 2025

Conversation

benwtrent
Copy link
Member

assertOffHeapByteSize makes a ton of assumptions and these don't really work well for custom formats.

Changing to protected instead of static to allow simple overriding by custom format testers.

Copy link

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog label to it and you will stop receiving this reminder on future updates to the PR.

Copy link
Contributor

@ChrisHegarty ChrisHegarty left a comment

Choose a reason for hiding this comment

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

LGTM.

@benwtrent benwtrent added the skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check. label Jun 16, 2025
@benwtrent benwtrent merged commit fd5ba47 into apache:main Jun 17, 2025
7 checks passed
@benwtrent benwtrent deleted the adj-off-heap-assert branch June 17, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:test-framework skip-changelog Apply to PRs that don't need a changelog entry, stopping the automated changelog check.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants