-
Type:
Improvement
-
Resolution: Won't Fix
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
In our CI loop we are getting frequent test failures in the replica set configuration due to unanticipated primary failovers, resulting in a thrown MongoSocketException.
Consider implementing a test rule that retries all functional tests once upon a MongoSocketException being thrown. Due to the server selection implementation, the next try of the test will go into the server selection loop until the primary is re-located.