From 60de8e1082676303de0171a66a404cdbdf9f574d Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Mon, 16 Dec 2019 11:08:59 +0100 Subject: [PATCH] up time limits Signed-off-by: Yoshua Wuyts --- src/stream/stream/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stream/stream/mod.rs b/src/stream/stream/mod.rs index f6822d24..7fac00db 100644 --- a/src/stream/stream/mod.rs +++ b/src/stream/stream/mod.rs @@ -587,13 +587,13 @@ extension_trait! { assert_eq!(s.next().await, Some(1)); // There will be no delay after the first time. - assert!(start.elapsed().as_millis() <= 210); + assert!(start.elapsed().as_millis() < 400); assert_eq!(s.next().await, Some(2)); - assert!(start.elapsed().as_millis() <= 210); + assert!(start.elapsed().as_millis() < 400); assert_eq!(s.next().await, None); - assert!(start.elapsed().as_millis() <= 210); + assert!(start.elapsed().as_millis() < 400); # # }) } ```