Auto merge of #28403 - sfackler:timeout-cap-removal, r=alexcrichton

Windows's scheduler apparently has "problems" unblocking calls in the
asked for time period.
This commit is contained in:
bors 2015-09-14 18:54:01 +00:00
commit 22071ec641
2 changed files with 0 additions and 4 deletions

View File

@ -954,7 +954,6 @@ mod tests {
assert!(kind == ErrorKind::WouldBlock || kind == ErrorKind::TimedOut);
});
assert!(wait > Duration::from_millis(400));
assert!(wait < Duration::from_millis(1600));
}
#[test]
@ -977,6 +976,5 @@ mod tests {
assert!(kind == ErrorKind::WouldBlock || kind == ErrorKind::TimedOut);
});
assert!(wait > Duration::from_millis(400));
assert!(wait < Duration::from_millis(1600));
}
}

View File

@ -379,7 +379,6 @@ mod tests {
assert!(kind == ErrorKind::WouldBlock || kind == ErrorKind::TimedOut);
});
assert!(wait > Duration::from_millis(400));
assert!(wait < Duration::from_millis(1600));
}
#[test]
@ -400,6 +399,5 @@ mod tests {
assert!(kind == ErrorKind::WouldBlock || kind == ErrorKind::TimedOut);
});
assert!(wait > Duration::from_millis(400));
assert!(wait < Duration::from_millis(1600));
}
}