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

fs: fix File::from_raw_fd test #5528

Merged
merged 5 commits into from
Mar 4, 2023
Merged

Conversation

satakuma
Copy link
Member

@satakuma satakuma commented Mar 4, 2023

One of the tokio::fs tests began to spuriously fail in the CI after #5493 was merged. I believe it comes from dropping File with the same fd twice. This PR should fix this.

cc @brodybits

tokio/tests/fs_file.rs Outdated Show resolved Hide resolved
@Darksonn Darksonn added A-tokio Area: The main tokio crate M-fs Module: tokio/fs labels Mar 4, 2023
tokio/tests/fs_file.rs Outdated Show resolved Hide resolved
satakuma and others added 2 commits March 4, 2023 11:06
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
@satakuma satakuma merged commit ff2f286 into tokio-rs:master Mar 4, 2023
@satakuma satakuma deleted the file-fd-test-fix branch March 4, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate M-fs Module: tokio/fs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants