fix(API): Tests failing on mac

This commit is contained in:
Karolin Varner
2024-08-21 12:30:38 +02:00
parent cc578169d6
commit c81d484294

View File

@@ -211,9 +211,10 @@ fn api_integration_api_setup() -> anyhow::Result<()> {
break e; break e;
} }
}; };
// NotConnected happens on Mac
assert!(matches!( assert!(matches!(
err.io_error_kind(), err.io_error_kind(),
K::ConnectionReset | K::BrokenPipe K::ConnectionReset | K::BrokenPipe | K::NotConnected
)); ));
} }