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

test for reader / sizing behavior on large files #34

Merged
merged 4 commits into from
Aug 22, 2022
Merged

Conversation

willscott
Copy link
Collaborator

fix #33

@willscott willscott requested a review from aschmahmann August 14, 2022 14:57
file/shard.go Outdated Show resolved Hide resolved
file/shard.go Show resolved Hide resolved
file/shard.go Outdated Show resolved Hide resolved
file/file_test.go Outdated Show resolved Hide resolved
Copy link
Member

@rvagg rvagg left a comment

Choose a reason for hiding this comment

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

good tests, but 32-bit are breaking OOM and I'm a little concerned about the terseness of some of this when we're getting so deep in the weeds - it would be nice to have less terse variable names and more notes inline to support future maintainers grokking this

@willscott willscott requested a review from rvagg August 20, 2022 12:45
@willscott willscott merged commit 1fca571 into main Aug 22, 2022
@willscott willscott deleted the largeFileReads branch August 22, 2022 06:48
hacdias pushed a commit to ipfs/boxo that referenced this pull request Jan 12, 2023
test for reader / sizing behavior on large files

This commit was moved from ipfs/go-unixfsnode@1fca571
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.

Better testing of offset reading
2 participants