Auto merge of #26155 - dhuseby:fixing_bitrig_net_tests, r=alexcrichton
… congruent due to rounding errors @semarie this affected both openbsd and bitrig. it seems the correct solution is to switch to fixed point arithmetic in the timeout code, the same as freebsd.
This commit is contained in:
commit
cf0edd0ad9
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user