Add missing test coverage#8
Merged
merlimat merged 2 commits intooxia-db:mainfrom Apr 16, 2026
Merged
Conversation
- compare_test: edge-byte cases, explicit hierarchical-vs-natural sort divergence, and sorted-list transitivity - sessions_test: _get_version unit tests for ephemeral/non-ephemeral records, including session_id=0 regression guard - client_test: SessionNotFound via stale session, delete ephemeral after session close, secondary-index EQUAL echo-back, session timeout boundary cases, empty-range list on multi-shard, cross-shard hierarchical sort consistency for list(), multi-shard assertion in floor/ceiling test, and enabled previously commented-out sequence_updates block Signed-off-by: Matteo Merli <mmerli@apache.org>
569e2db to
f1ca6ad
Compare
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_get_versionunit tests for ephemeral/non-ephemeral records, including asession_id=0regression guard against a truthy-check refactorSessionNotFoundvia forcibly-closed server-side sessionlist()on multi-shard setuplist()test_floor_ceiling_gettest_sequence_updatesblockTest plan
uv run pytest tests/compare_test.py -v— 4 passeduv run pytest tests/sessions_test.py -v— 17 passeduv run pytest tests/client_test.py -v— 23 passeduv run pytest tests/ -v— 43 passed, 0 failed