altugbakan / rs-tftpd

TFTP Server Daemon implemented in Rust
https://crates.io/crates/tftpd
MIT License
51 stars 14 forks source link

Fix failing fills_and_removes_from_window test #4

Closed vilheikk closed 1 year ago

vilheikk commented 1 year ago

As the tests are run concurrently, the directory might already exist, so just ignore the failure.

Fixes the following error when running the tests:

---- window::tests::fills_and_removes_from_window stdout ---- thread 'window::tests::fills_and_removes_from_window' panicked at 'called Result::unwrap() on an Err value: Os { code: 17, kind: AlreadyExists, message: "File exists" }', src/window.rs:194:38

Fixes #3

altugbakan commented 1 year ago

LGTM