diff --git a/tests/cli.rs b/tests/cli.rs index afb9c01..293d03b 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -1,3 +1,4 @@ +#[cfg_attr(target_os = "windows", allow(dead_code))] use rand::Rng; use crate::node_ticket::NodeTicket; @@ -212,7 +213,9 @@ fn connect_listen_ctrlc_listen() { connect.read_to_end(&mut tmp).ok(); } +// TODO: figure out why this is flaky on windows #[test] +#[cfg(unix)] fn listen_tcp_happy() { let b1 = wait2(); let b2 = b1.clone();