Skip to content

Commit

Permalink
Merge pull request bytecodealliance#3024 from uweigand/poll-timeout
Browse files Browse the repository at this point in the history
Increase timeout for poll_oneoff tests
  • Loading branch information
cfallin authored Jun 23, 2021
2 parents edfbd77 + c881c01 commit 8172620
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::collections::HashMap;
use std::mem::MaybeUninit;
use wasi_tests::{assert_errno, STDERR_FD, STDIN_FD, STDOUT_FD};

const TIMEOUT: u64 = 50_000_000u64; // 50 milliseconds, required to satisfy slow execution in CI
const TIMEOUT: u64 = 200_000_000u64; // 200 milliseconds, required to satisfy slow execution in CI
const CLOCK_ID: wasi::Userdata = 0x0123_45678;
const STDIN_ID: wasi::Userdata = 0x8765_43210;

Expand Down
2 changes: 1 addition & 1 deletion crates/wasi-common/tokio/tests/poll_oneoff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use wasi_common::{
};
use wasi_tokio::{clocks_ctx, sched::poll_oneoff, Dir};

const TIMEOUT: Duration = Duration::from_millis(50); // Required for slow execution in CI
const TIMEOUT: Duration = Duration::from_millis(200); // Required for slow execution in CI

#[tokio::test(flavor = "multi_thread")]
async fn empty_file_readable() -> Result<(), Error> {
Expand Down

0 comments on commit 8172620

Please sign in to comment.