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

Ensure unified test clients are initialized before test operations begin

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • 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?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Our CSOT tests rely on specific timing windows achieved with configureFailPoint to ensure that timeouts occur when expected. When the client used for a test is created, it does not fully initialize and begin SDAM until the first test operation is started. This can cause significant slowdowns and disrupt these timings, resulting in failed tests.

      Definition of done

      All unified test clients should be explicitly connected to the server before any test operations begin.

      Pitfalls

      If any tests explicitly expect their clients to not be connected before they begin test operations, those tests must have the ability to disable this behavior.

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

              Created:
              Updated:
              Resolved: