Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1376

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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Tests
    • Labels:
      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 Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: