From c81d484294d532f4bfebdefe1a22693d8ce6b4bc Mon Sep 17 00:00:00 2001 From: Karolin Varner Date: Wed, 21 Aug 2024 12:30:38 +0200 Subject: [PATCH] fix(API): Tests failing on mac --- rosenpass/tests/api-integration-tests-api-setup.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 )); }