rust: fix test condition in tcp patch

This commit is contained in:
Daiderd Jordan 2018-06-06 20:18:13 +02:00
parent 810e6759c2
commit c5d1f8f313
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -98,7 +98,7 @@ index 0f60b5b3e..9b08415e7 100644
}
#[test]
+ #[cfg_attr(target_os = "linux", target_os = "macos", ignore)]
+ #[cfg_attr(any(target_os = "linux", target_os = "macos"), ignore)]
fn connect_timeout_unroutable() {
// this IP is unroutable, so connections should always time out,
// provided the network is reachable to begin with.