Add client-level timeout test for tailable awaitData cursors

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Component/s: CSOT
    • None
    • Needed
    • Hide

      Summary of necessary driver changes

      •  

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      •  

      Context for other referenced/linked tickets

      •  
      Show
      Summary of necessary driver changes   Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed)   Context for other referenced/linked tickets  

      Summary

      Currently, the CSOT tailable awaitData cursor unified spec tests do not ensure that a client-level timeout will be used to set maxTimeMS on a getMore under the conditions prescribed in DRIVERS-2868.

      Motivation

      Expand CSOT testing coverage.

      Acceptance Criteria

      Extend unified spec tests to include client-level timeoutMS analogues to the following tests:

      • "error on aggregate if maxAwaitTimeMS is equal to timeoutMS"
      • "error on aggregate if maxAwaitTimeMS is greater than timeoutMS"
      • "apply remaining timeoutMS if less than maxAwaitTimeMS"
      • "apply maxAwaitTimeMS if less than remaining timeout"

              Assignee:
              Unassigned
              Reporter:
              Preston Vasquez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: