chamelon icon indicating copy to clipboard operation
chamelon copied to clipboard

Add failing test discovered in opam-mirror

Open reynir opened this issue 3 years ago • 3 comments

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 avatar Oct 06 '22 11:10 reynir

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

reynir avatar Oct 06 '22 11:10 reynir

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.

reynir avatar Oct 06 '22 12:10 reynir

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.

yomimono avatar Feb 25 '23 20:02 yomimono