-
Type: Task
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Tests
-
None
Since server selection is randomized, we cannot reliably use configureFailPoint when connected to a topology with multiple mongos nodes.
The new test being added in PHPC-1373, which will use fail points, will respect this requirement; however, we have several other uses of configureFailPoint that should be addressed. In tools.php, failMaxTimeMS() and failGetMore() utility functions are used by several tests. failMaxTimeMS() does not have a specialized SKIPIF (I believe it tends to use skip_if_test_commands_disabled()), but failGetMore() does have skip_if_no_getmore_failpoint(). We should ensure that any tests configuring a fail point use a SKIPIF that skips any sharded cluster topology with multiple mongos nodes.
- is related to
-
PHPC-1373 WriteResult is inaccessible if executeBulkWrite() encounters socket error
- Closed