Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-2484

Introduce Load Balanced CMAP unit tests

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • CMAP, Load Balancer
    • None
    • Needed

    Description

      Summary

      There are currently no LB-specific CMAP unit tests. Many of the existing unit tests do work in LB mode, but some of them (pool-clear-min-size.yml for example) do not pass. We should update the unit test format to properly account for LB mode and introduce new, LB-mode specific unit tests to ensure full coverage.

      Motivation

      Who is the affected end user?

      Driver authors, and potentially users if the gap in test coverage results in bugs.

      How does this affect the end user?

      Gaps in test coverage may lead to bugs.

      Is this issue urgent?

      There are existing unified format tests that cover LB mode pools, so this isn't a blocker. That said, there could be gaps in the coverage that could be filled by unit tests.

      Is this ticket required by a downstream team?

      No

      Is this ticket only for tests?

      Yes

      Attachments

        Activity

          People

            Unassigned Unassigned
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: