From 68fdadde26fd229fe5f9669071da0a4d5cc9c1cb Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Fri, 7 May 2021 15:19:02 -0700 Subject: [PATCH] tokio poll_oneoff test: CI needs more than 1ms to complete it --- crates/wasi-common/tokio/tests/poll_oneoff.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/wasi-common/tokio/tests/poll_oneoff.rs b/crates/wasi-common/tokio/tests/poll_oneoff.rs index 818f7e86c0..bf932325fe 100644 --- a/crates/wasi-common/tokio/tests/poll_oneoff.rs +++ b/crates/wasi-common/tokio/tests/poll_oneoff.rs @@ -40,7 +40,7 @@ async fn empty_file_readable() -> Result<(), Error> { clocks .monotonic .now(clocks.monotonic.resolution()) - .checked_add(Duration::from_millis(1)) + .checked_add(Duration::from_millis(5)) .unwrap(), clocks.monotonic.resolution(), Userdata::from(0), @@ -83,7 +83,7 @@ async fn empty_file_writable() -> Result<(), Error> { clocks .monotonic .now(clocks.monotonic.resolution()) - .checked_add(Duration::from_millis(1)) + .checked_add(Duration::from_millis(5)) .unwrap(), clocks.monotonic.resolution(), Userdata::from(0), @@ -111,7 +111,7 @@ async fn stdio_readable() -> Result<(), Error> { let deadline = clocks .monotonic .now(clocks.monotonic.resolution()) - .checked_add(Duration::from_millis(1)) + .checked_add(Duration::from_millis(5)) .unwrap(); let mut waiting_on: HashMap> = vec![