Skip to content

Commit

Permalink
disabling socking timing tests because openbsd/bitrig get/set are not…
Browse files Browse the repository at this point in the history
… congruent due to rounding errors
  • Loading branch information
Dave Huseby committed Jun 10, 2015
1 parent 01ab4f7 commit 4a2d4d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libstd/net/tcp.rs
Expand Up @@ -902,6 +902,9 @@ mod tests {
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();
Expand Down
3 changes: 3 additions & 0 deletions src/libstd/net/udp.rs
Expand Up @@ -360,6 +360,9 @@ mod tests {
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();
Expand Down

0 comments on commit 4a2d4d3

Please sign in to comment.