Skip to content
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

feat(store): Test all put funcs #3847

Merged
merged 3 commits into from
Oct 19, 2024

Conversation

walldiss
Copy link
Member

@walldiss walldiss commented Oct 14, 2024

This PR refactors the EDS store tests to expand coverage. Previously, only the ODSQ4 function was tested, and some scenarios for empty files were missing. The updated tests now cover all file creation functions and include both empty and non-empty file scenarios for the following operations:

  • Put
  • Remove
  • GetByHeight
  • GetByHash

@walldiss walldiss added area:storage kind:feat Attached to feature PRs labels Oct 14, 2024
@walldiss walldiss self-assigned this Oct 14, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.99%. Comparing base (2469e7a) to head (f736c12).
Report is 345 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3847      +/-   ##
==========================================
+ Coverage   44.83%   44.99%   +0.16%     
==========================================
  Files         265      314      +49     
  Lines       14620    21799    +7179     
==========================================
+ Hits         6555     9809    +3254     
- Misses       7313    10965    +3652     
- Partials      752     1025     +273     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@Wondertan Wondertan left a comment

Choose a reason for hiding this comment

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

LGTM

@walldiss walldiss enabled auto-merge (squash) October 19, 2024 16:41
@walldiss walldiss merged commit 23af20a into celestiaorg:main Oct 19, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:storage kind:feat Attached to feature PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants