crosvm/cros_async
Daniel Verkamp 86148a9ceb cros_async: use tempfile instead of fixed path in tests
Previously, several tests used the same hard-coded filename for test
files ("/tmp/write_from_vec"), which could cause flaky tests when
running in parallel. Replace these with a tempfile invocation so the
tests can run simultaneously.

BUG=None
TEST=cargo test -p cros_async

Change-Id: I2b32d998583f9a44359345628d803b2397af33b1
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3993927
Reviewed-by: Dennis Kempin <denniskempin@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-10-31 21:57:39 +00:00
..
src
Cargo.toml