Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 31597e6

Browse files
Fix comments of ignored timeout tests
1 parent 3efc19e commit 31597e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎library/std/src/os/unix/net/tests.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ fn long_path() {
172172
#[test]
173173
#[cfg(not(target_os = "nto"))]
174174
#[cfg_attr(target_os = "android", ignore)] // Android SELinux rules prevent creating Unix sockets
175-
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin ignores timeout
175+
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin connect needs handshake
176176
fn timeouts() {
177177
let dir = tmpdir();
178178
let socket_path = dir.path().join("sock");
@@ -201,7 +201,7 @@ fn timeouts() {
201201

202202
#[test]
203203
#[cfg_attr(target_os = "android", ignore)] // Android SELinux rules prevent creating Unix sockets
204-
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin ignores timeout
204+
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin connect needs handshake
205205
fn test_read_timeout() {
206206
let dir = tmpdir();
207207
let socket_path = dir.path().join("sock");
@@ -222,7 +222,7 @@ fn test_read_timeout() {
222222

223223
#[test]
224224
#[cfg_attr(target_os = "android", ignore)] // Android SELinux rules prevent creating Unix sockets
225-
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin ignores timeout
225+
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin connect needs handshake
226226
fn test_read_with_timeout() {
227227
let dir = tmpdir();
228228
let socket_path = dir.path().join("sock");
@@ -251,7 +251,7 @@ fn test_read_with_timeout() {
251251
// when passed zero Durations
252252
#[test]
253253
#[cfg_attr(target_os = "android", ignore)] // Android SELinux rules prevent creating Unix sockets
254-
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin ignores timeout
254+
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin connect needs handshake
255255
fn test_unix_stream_timeout_zero_duration() {
256256
let dir = tmpdir();
257257
let socket_path = dir.path().join("sock");

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /