summaryrefslogtreecommitdiffstats
path: root/tokio/tests/stream_timeout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/tests/stream_timeout.rs')
-rw-r--r--tokio/tests/stream_timeout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/tests/stream_timeout.rs b/tokio/tests/stream_timeout.rs
index a787bba3..216b5f75 100644
--- a/tokio/tests/stream_timeout.rs
+++ b/tokio/tests/stream_timeout.rs
@@ -78,7 +78,7 @@ async fn return_elapsed_errors_only_once() {
// error is returned.
assert_pending!(stream.poll_next());
//
- time::advance(ms(50)).await;
+ time::advance(ms(51)).await;
let v = assert_ready!(stream.poll_next());
assert!(v.unwrap().is_err()); // timeout!