File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
sdk/core/azure_core_amqp/src Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,9 @@ mod tests {
264264 ) ;
265265 }
266266
267+ // On macOS, there is a periodic issue where loopback TCP connections fail.
268+ // Disable these tests on macOS.
269+ #[ cfg( not( target_os = "macos" ) ) ]
267270 #[ tokio:: test]
268271 async fn amqp_connection_open ( ) {
269272 let address = std:: env:: var ( "TEST_BROKER_ADDRESS" ) ;
@@ -294,6 +297,7 @@ mod tests {
294297 }
295298 }
296299
300+ #[ cfg( not( target_os = "macos" ) ) ]
297301 #[ tokio:: test]
298302 async fn amqp_connection_close ( ) {
299303 let address = std:: env:: var ( "TEST_BROKER_ADDRESS" ) ;
@@ -310,6 +314,7 @@ mod tests {
310314 }
311315 }
312316
317+ #[ cfg( not( target_os = "macos" ) ) ]
313318 #[ tokio:: test]
314319 async fn amqp_connection_close_with_error ( ) {
315320 tracing_subscriber:: fmt:: init ( ) ;
You can’t perform that action at this time.
0 commit comments