File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -771,12 +771,14 @@ test_multiple_selection_errors (void *context)
771
771
772
772
/* Like:
773
773
* "No suitable servers found (`serverselectiontryonce` set):
774
- * [Failed to resolve 'doesntexist'] [connection error]"
774
+ * [Failed to resolve 'doesntexist']
775
+ * [connection error calling ismaster on 'example.com:2']"
775
776
*/
776
777
ASSERT_CONTAINS (error .message ,
777
778
"No suitable servers found" );
779
+ /* either "connection error" or "connection timeout" calling ismaster */
778
780
ASSERT_CONTAINS (error .message ,
779
- "[connection error calling ismaster on 'example.com:2'] " );
781
+ "calling ismaster on 'example.com:2'" );
780
782
ASSERT_CONTAINS (error .message ,
781
783
"[Failed to resolve 'doesntexist']" );
782
784
You can’t perform that action at this time.
0 commit comments