Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-2678

Intermittent failures in Session Prose Tests #14

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

    Description

      Occasionally, evergreen tasks will fail on session prose test #14: "Implicit sessions only allocate their server session after a successful connection checkout".

      [2022/12/08 19:23:22.950] === RUN   TestSessions/14._implicit_session_allocation
       
      12024
      [2022/12/08 19:23:22.950]     sessions_test.go:473: expected one session across all 8 operations for at least 1/5 retries, got: 2

       
      Here is an example of such a failure.

      There is a note in the prose test concerning this rare failure:

      Note that it's possible, although rare, for >1 server session to be used because the session is not released until after the connection is checked in.

      Considering increasing the threshold from 5 to 10?

      Attachments

        Activity

          People

            Unassigned Unassigned
            preston.vasquez@mongodb.com Preston Vasquez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: