Skip to content

Commit

Permalink
Make async_io test only run on unix
Browse files Browse the repository at this point in the history
  • Loading branch information
mgattozzi committed Nov 16, 2022
1 parent 4843a1c commit 3c9e62b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/tests/integration/async_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ use std::sync::atomic::Ordering;
use std::sync::Arc;
use tokio::sync::Barrier;

// For some reason on windows this test fails with the write body portion due to
// some difference we believe between unix systems and windows when it comes to
// hyper. We don't believe this means the implementation is wrong. As such we've
// disabled this test only on windwos.
#[cfg(target_family = "unix")]
#[tokio::test(flavor = "multi_thread")]
async fn async_io_methods() -> TestResult {
let request_count = Arc::new(AtomicUsize::new(0));
Expand Down

0 comments on commit 3c9e62b

Please sign in to comment.