Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1270

targetedFailPoint operation in legacy spec test runner should assert that session is pinned

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.17.0
    • Affects Version/s: None
    • Component/s: None
    • None

      The legacy spec test runner does not assert that a session is actually pinned when executing the targetedFailPoint operation. This resulted in flaky test failures because the fail point would be configured on the primary server by default.

      This was discovered while implementing PHPLIB-1228.

      Note that the unified test runner does not have this problem, as its targetedFailPoint operation does assert.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: