Closed vilheikk closed 1 year ago
Hey! Thanks for checking this project out.
I know about that issue and the leading cause is the tests run in parallel and they all try to create the same folder at the same time. Generally, this does not happen, but it is a flaky behavior and it should be fixed.
Your fix is correct for the short term, but in the long term, I think the tests should be mocked using a mock filesystem, which I hopefully will work on soon enough. You can open a PR with your fix if you'd like, and I would be happy to merge that into main.
When running the tests with cargo test (in Fedora 37), window::tests::fills_and_removes_from_window fails.
I was able to fix this by ignoring the error
But I don't know if it's the correct fix.