Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-4216

Connection Logging Test log ordering issue

    • Type: Icon: Build Failure Build Failure
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.12
    • Affects Version/s: None
    • Component/s: None
    • None
    • Python Drivers
    • 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?

      Context

      The spec states that a handshake failure MUST result in the connection pool being cleared, but the order of clearing and connection closing isn't specified. The Python driver events and logs show that we first close the connection, then clear the pool. This conflicts with what the standardized logging tests expect, which is pool clear -> connection closed (test for reference). Is the order of operations here meaningful?
       

      Definition of done

      The test should pass without modifying the expected the order of logs.

      Pitfalls

      N/A.

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            noah.stapp@mongodb.com Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: