-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
RepoSize incorrect with symlink #4408
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
Comments
Related p.r.: #4305 |
I can't reproduce this and the builds now seam to be passing. In order to see what is going on I would need to add something like
to see why the numbers are not matching as there is no indication of any other errors. |
Just bumped into this https://circleci.com/gh/ipfs/go-ipfs/8414#tests/containers/1 |
By guess is the repo size is decreasing (instead of increating) slightly. #4434 should help get to the bottom of this. |
I just ran into this:
So, it looks like the repo size is decreasing (by 661 bytes in this case). |
Yeah, that what I thought would happen. We need to rethink the test or introduce a fuze factor... Why it changes in size could be any number of things. |
We appear to be writing to leveldb on each command. fixes #4408 License: MIT Signed-off-by: Steven Allen <[email protected]>
Before, we'd check to make sure the repo, when checked through a symlink, is at least as large as the repo *before* we checked it through the symlink. However, this assumes that the repo can't shrink. Really, this test exists to ensure we measure the repo size itself instead of the size of the symlink; this commit changes the test to reflect this. This test fails when 54d7e03 is reverted. fixes #4408 License: MIT Signed-off-by: Steven Allen <[email protected]>
Before, we'd check to make sure the repo, when checked through a symlink, is at least as large as the repo *before* we checked it through the symlink. However, this assumes that the repo can't shrink. Really, this test exists to ensure we measure the repo size itself instead of the size of the symlink; this commit changes the test to reflect this. This test fails when 54d7e03 is reverted. fixes #4408 License: MIT Signed-off-by: Steven Allen <[email protected]>
Interesting sharness error:
The text was updated successfully, but these errors were encountered: