Skip to content

fix failing TestHnswFloatVectorGraph test#15791

Merged
msokolov merged 3 commits intoapache:mainfrom
chrisparrinello:fix-failing-nightly-test
Mar 2, 2026
Merged

fix failing TestHnswFloatVectorGraph test#15791
msokolov merged 3 commits intoapache:mainfrom
chrisparrinello:fix-failing-nightly-test

Conversation

@chrisparrinello
Copy link
Contributor

Description

TestHnswFloatVectorGraph.testRamUsageEstimate is failing due to java.lang.RuntimeException: Can't access field 'cells' of class 'java.util.concurrent.atomic.LongAdder' for RAM estimation. exception. Looking at the change, it looks like it is due to this PR.

The fix is to assume that LongAdder has the same size as a Long for RAM estimation purposes.

Copy link
Contributor

@msokolov msokolov left a comment

Choose a reason for hiding this comment

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

Thank you!

@msokolov msokolov merged commit 182ee9c into apache:main Mar 2, 2026
12 of 13 checks passed
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.

2 participants