]> git.lizzy.rs Git - rust.git/commitdiff
disabling socking timing tests because openbsd/bitrig get/set are not congruent due...
authorDave Huseby <dhuseby@mozilla.com>
Tue, 9 Jun 2015 16:36:17 +0000 (09:36 -0700)
committerDave Huseby <dhuseby@mozilla.com>
Wed, 10 Jun 2015 18:23:47 +0000 (11:23 -0700)
src/libstd/net/tcp.rs
src/libstd/net/udp.rs

index 36854db63a303ca21b28081e9816a69ecd5c8498..222059e4c0e6a164f6ebd0c26d021e6ee7a46429 100644 (file)
@@ -902,6 +902,9 @@ fn debug() {
         assert_eq!(format!("{:?}", stream), compare);
     }
 
+    // FIXME: re-enabled bitrig/openbsd tests once their socket timeout code
+    //        no longer has rounding errors.
+    #[cfg_attr(any(target_os = "bitrig", target_os = "openbsd"), ignore)]
     #[test]
     fn timeouts() {
         let addr = next_test_ip4();
index ebabba7def1be04dff4056faf22bbc10ca92e9e0..c3cf9895205e47290f49cd08d355ca8988fc84d9 100644 (file)
@@ -360,6 +360,9 @@ fn debug() {
         assert_eq!(format!("{:?}", udpsock), compare);
     }
 
+    // FIXME: re-enabled bitrig/openbsd tests once their socket timeout code
+    //        no longer has rounding errors.
+    #[cfg_attr(any(target_os = "bitrig", target_os = "openbsd"), ignore)]
     #[test]
     fn timeouts() {
         let addr = next_test_ip4();