-
Notifications
You must be signed in to change notification settings - Fork 117
[release/0.12] Fix new CI issues #597
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -844,6 +844,8 @@ mod tests { | |
| // Reset the connection on the first n-1 attempts | ||
| for _ in 0..retry.max_retries { | ||
| let (stream, _) = listener.accept().await.unwrap(); | ||
| // TcpStream::set_linger is deprecated but this use case is valid to reset the stream | ||
| #[allow(deprecated)] | ||
| stream.set_linger(Some(Duration::from_secs(0))).unwrap(); | ||
|
Comment on lines
+847
to
849
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. My understanding is that this is more about it being a potential performance issue than anything else, with the thread being potentially blocked on drop.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Indeed -- @crepererum fixed the same issue in basically the same way on main in |
||
| } | ||
| // Succeed on the last attempt | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of crates just recently made the jump from
1.64to1.68,parking_lotand tokio moved to1.71and eventracingmade a very significant change to1.65.