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:
commit
22071ec641
@ -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));
|
||||
}
|
||||
}
|
||||
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user