@@ -37,23 +37,33 @@ async fn run_unified() {
3737 ] ) ;
3838 }
3939
40+ let mut skipped_tests = vec ! [
41+ // The driver does not support socketTimeoutMS.
42+ "Reset server and pool after network timeout error during authentication" ,
43+ "Ignore network timeout error on find" ,
44+ "apply backpressure on network timeout error during connection establishment" ,
45+ // TODO RUST-2068: unskip these tests
46+ "Pool is cleared on handshake error during minPoolSize population" ,
47+ "Pool is cleared on authentication error during minPoolSize population" ,
48+ ] ;
49+ if cfg ! ( target_os = "macos" ) {
50+ skipped_tests
51+ . extend_from_slice ( & [ "Topology lifecycle" , "Command error on Monitor handshake" ] ) ;
52+ }
53+
4054 run_unified_tests ( & [ "server-discovery-and-monitoring" , "unified" ] )
4155 . skip_files ( & skipped_files)
42- . skip_tests ( & [
43- // The driver does not support socketTimeoutMS.
44- "Reset server and pool after network timeout error during authentication" ,
45- "Ignore network timeout error on find" ,
46- "apply backpressure on network timeout error during connection establishment" ,
47- // TODO RUST-2068: unskip these tests
48- "Pool is cleared on handshake error during minPoolSize population" ,
49- "Pool is cleared on authentication error during minPoolSize population" ,
50- ] )
56+ . skip_tests ( & skipped_tests)
5157 . await ;
5258}
5359
5460/// Streaming protocol prose test 1 from SDAM spec tests.
5561#[ tokio:: test( flavor = "multi_thread" ) ]
5662async fn streaming_min_heartbeat_frequency ( ) {
63+ if cfg ! ( target_os = "macos" ) {
64+ log_uncaptured ( "skipping streaming_min_heartbeat_frequency: flaky on macos" ) ;
65+ return ;
66+ }
5767 if topology_is_load_balanced ( ) . await {
5868 log_uncaptured ( "skipping streaming_min_heartbeat_frequency due to load balanced topology" ) ;
5969 return ;
0 commit comments