diff --git a/rosenpass/tests/api-integration-tests-api-setup.rs b/rosenpass/tests/api-integration-tests-api-setup.rs index 8c43234..5b46913 100644 --- a/rosenpass/tests/api-integration-tests-api-setup.rs +++ b/rosenpass/tests/api-integration-tests-api-setup.rs @@ -211,9 +211,10 @@ fn api_integration_api_setup() -> anyhow::Result<()> { break e; } }; + // NotConnected happens on Mac assert!(matches!( err.io_error_kind(), - K::ConnectionReset | K::BrokenPipe + K::ConnectionReset | K::BrokenPipe | K::NotConnected )); }