From 938376f11f8a30c26d5c9ce27117d417becc7185 Mon Sep 17 00:00:00 2001 From: teor Date: Wed, 3 Nov 2021 00:11:39 +1000 Subject: [PATCH] Disable an unreliable test on macOS (#2997) We keep the test active on other platforms, because it passes on them. Co-authored-by: Conrado Gouvea --- zebra-network/src/peer_set/initialize/tests/vectors.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zebra-network/src/peer_set/initialize/tests/vectors.rs b/zebra-network/src/peer_set/initialize/tests/vectors.rs index a7fb38d5..d7ef0bd8 100644 --- a/zebra-network/src/peer_set/initialize/tests/vectors.rs +++ b/zebra-network/src/peer_set/initialize/tests/vectors.rs @@ -949,6 +949,10 @@ async fn listener_peer_limit_default_handshake_error() { /// Test the listener with the default inbound peer limit, /// and a handshaker that returns success then disconnects the peer. +/// +/// TODO: tweak the crawler timeouts and rate-limits so we get over the actual limit on macOS +/// (currently, getting over the limit can take 30 seconds or more) +#[cfg(not(target_os = "macos"))] #[tokio::test] async fn listener_peer_limit_default_handshake_ok_then_drop() { zebra_test::init();