Skip tests that call configureFailPoint on sharded clusters with multiple mongos nodes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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.

              Assignee:
              Unassigned
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: