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

Add failing test discovered in opam-mirror #16

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

reynir
Copy link

@reynir reynir commented Oct 6, 2022

This failing test uses a 64 MB filesystem. It first writes two files of size 2 MiB. Then it disconnects and connects again, and sets one of the files to a value slightly larger than 2 MiB. Then chamelon fails and complains about lack of space.

I can try to minimize the test case as the large-ish sizes result in a lot of debug output.

@reynir
Copy link
Author

reynir commented Oct 6, 2022

I tried the same test without reconnecting and then it succeeds.

Rewriting with a small file is enough. Also disable debug logging when
writing the large files to reduce noise.
@reynir
Copy link
Author

reynir commented Oct 6, 2022

I tried using smaller files (2KB instead of 2MB), but then I could not reproduce. Rewriting with a small file (2 KB) works fine though. I also disabled debug logging when writing the large files to reduce the log output from ~30K lines to ~1600 lines.

@yomimono
Copy link
Owner

Thanks very much for this test case. I'm about to page this project back into my brain and will see what I can figure out.

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