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

Fix failing "TestSessions" test

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: 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?

      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.

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

              Created:
              Updated: