Searched refs:active_attempts (Results 1 – 2 of 2) sorted by relevance
166 pub fn active_attempts(&self) -> Vec<ConnectionAttempt> { in active_attempts() method224 assert_eq!(attempts.active_attempts().len(), 1); in test_direct_connection()225 assert_eq!(attempts.active_attempts()[0].client, CLIENT_1); in test_direct_connection()226 assert_eq!(attempts.active_attempts()[0].mode, ConnectionMode::Direct); in test_direct_connection()227 assert_eq!(attempts.active_attempts()[0].remote_address, ADDRESS_1); in test_direct_connection()245 assert!(attempts.active_attempts().is_empty()); in test_cancel_direct_connection()260 assert_eq!(attempts.active_attempts().len(), 2); in test_multiple_direct_connections()276 assert_eq!(attempts.active_attempts().len(), 1); in test_two_direct_connection_cancel_one()277 assert_eq!(attempts.active_attempts()[0].client, CLIENT_2); in test_two_direct_connection_cancel_one()293 assert_eq!(attempts.active_attempts().len(), 1); in test_drop_pending_connection_after_cancel_and_restart()[all …]
137 .drive_to_state(determine_target_state(&state.attempts.active_attempts())); in reconcile_state()