Skip to content

Fix TestOnDiskGraphIndex.testReorderingWithHoles#400

Merged
marianotepper merged 3 commits intomainfrom
reorderingWithHoles
Mar 10, 2025
Merged

Fix TestOnDiskGraphIndex.testReorderingWithHoles#400
marianotepper merged 3 commits intomainfrom
reorderingWithHoles

Conversation

@marianotepper
Copy link
Contributor

@marianotepper marianotepper commented Mar 7, 2025

Solves #399 and adds an additional assertion in the test to verify the corrected OnDiskGraphIndex.getNodes.

As part of the fix, I had to serialize the idUpperBound. The side effect is that OnDiskGraphIndex is in version 4 now.

@marianotepper marianotepper requested a review from jkni March 7, 2025 01:45
Copy link
Contributor

@jkni jkni left a comment

Choose a reason for hiding this comment

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

One meaningful nit (closing the reader in getNodes) and two minor hygiene nits. Fix looks good to me. Thank you!

@jkni jkni self-requested a review March 10, 2025 15:55
@marianotepper marianotepper merged commit 3642fc9 into main Mar 10, 2025
2 of 6 checks passed
@marianotepper marianotepper deleted the reorderingWithHoles branch March 10, 2025 16:42
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.

2 participants