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

Fix failing "TestSessions" test

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • Sessions
    • 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

      The test

      TestSessions/14._implicit_session_allocation
      

      fails frequently with an error like

      sessions_test.go:473:
          	Error Trace:	mongo/integration/sessions_test.go:473
          	            				mongo/integration/mongotest.go:263
          	Error:      	Should be true
          	Test:       	TestSessions/14._implicit_session_allocation
          	Messages:   	expected one session across all 8 operations for at least 1/5 retries, got: 2
      

      See an example test run here.

      Definition of done:

      • All TestSessions test cases pass reliably on Evergreen CI.
      • Remove any skipped TestSessions tests tagged with this ticket.

      Attachments

        Activity

          People

            preston.vasquez@mongodb.com Preston Vasquez
            matt.dale@mongodb.com Matt Dale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: