mirror of
https://github.com/chatmail/core.git
synced 2026-08-18 06:36:29 +03:00
test: assert that run_connection_attempts tries all candidates
This commit is contained in:
@@ -209,6 +209,9 @@ where
|
||||
}
|
||||
}
|
||||
None => {
|
||||
// We should never return an error with connection attempts left to try.
|
||||
debug_assert!(futures.next().is_none());
|
||||
|
||||
// Out of connection attempts.
|
||||
//
|
||||
// Break out of the loop and return error.
|
||||
|
||||
Reference in New Issue
Block a user