From bbc23b074ed88752ee1b139a435d93a58b4d01dd Mon Sep 17 00:00:00 2001 From: Ruediger Klaehn Date: Thu, 14 Dec 2023 11:50:14 +0200 Subject: [PATCH] Disable especially flaky test for windows --- tests/cli.rs | 3 +++ 1 file changed, 3 insertions(+) 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();