RUST-1842 Update prose tests for mongos deprioritization during retryable ops
- Add assertions to check whether failed events occurred on the same or different mongos for
retryable_reads and retryable_writes.
- Rewrote implementation for retryable read/write test on different mongos. The prose updates introduced flakiness on mongo versions 4.2 and 4.4 sharded tasks on Macos-14.00 variant where the servers discovery was too slow.
- Solution: Instead of creating a client per server, we now have a single client that connects to all servers using predicates.
Links
- Prose test diff to implement: https://github.com/mongodb/specifications/commit/f5bb605db32aeff78b2197d15e559b68e7d61f7f