Fix backpressure tests template description typo

XMLWordPrintableJSON

    • Type: Spec Change
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: Backpressure
    • None

      "client-backpressure/tests/backpressure-retry-max-attempts.yml.template" contains the following description on line 76:

      1. we expect 3 pairs of command started and succeeded events

      https://github.com/mongodb/specifications/blob/master/source/client-backpressure/tests/backpressure-retry-max-attempts.yml.template#L76

      However, it should be

      1. we expect 3 pairs of command started and failed events

      as template generates tests where every attempt fails (failpoint is alwaysOn), so all events are commandStartedEvent + commandFailedEvent pairs. The comment incorrectly says "succeeded."

      Caught by copilot in node spec sync (maybe it makes sense to include copilot in spec repo to catch typos like this): https://github.com/mongodb/node-mongodb-native/pull/4920

            Assignee:
            Unassigned
            Reporter:
            Sergey Zelenov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: