tokio poll_oneoff test: CI needs more than 1ms to complete it
This commit is contained in:
@@ -40,7 +40,7 @@ async fn empty_file_readable() -> Result<(), Error> {
|
|||||||
clocks
|
clocks
|
||||||
.monotonic
|
.monotonic
|
||||||
.now(clocks.monotonic.resolution())
|
.now(clocks.monotonic.resolution())
|
||||||
.checked_add(Duration::from_millis(1))
|
.checked_add(Duration::from_millis(5))
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
clocks.monotonic.resolution(),
|
clocks.monotonic.resolution(),
|
||||||
Userdata::from(0),
|
Userdata::from(0),
|
||||||
@@ -83,7 +83,7 @@ async fn empty_file_writable() -> Result<(), Error> {
|
|||||||
clocks
|
clocks
|
||||||
.monotonic
|
.monotonic
|
||||||
.now(clocks.monotonic.resolution())
|
.now(clocks.monotonic.resolution())
|
||||||
.checked_add(Duration::from_millis(1))
|
.checked_add(Duration::from_millis(5))
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
clocks.monotonic.resolution(),
|
clocks.monotonic.resolution(),
|
||||||
Userdata::from(0),
|
Userdata::from(0),
|
||||||
@@ -111,7 +111,7 @@ async fn stdio_readable() -> Result<(), Error> {
|
|||||||
let deadline = clocks
|
let deadline = clocks
|
||||||
.monotonic
|
.monotonic
|
||||||
.now(clocks.monotonic.resolution())
|
.now(clocks.monotonic.resolution())
|
||||||
.checked_add(Duration::from_millis(1))
|
.checked_add(Duration::from_millis(5))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let mut waiting_on: HashMap<u64, Box<dyn WasiFile>> = vec![
|
let mut waiting_on: HashMap<u64, Box<dyn WasiFile>> = vec![
|
||||||
|
|||||||
Reference in New Issue
Block a user