Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1447

Cache topology information rather than creating new clients

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.3.0
    • Affects Version/s: None
    • Component/s: Performance
    • None
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The tests create a lot of TestClient instances to check the topology type. We should instead do this once and cache the results so that all tests can access them, similar to what we do for CLIENT_OPTIONS. This will greatly cut down on the number of clients / connections we use during the test runs.

            Assignee:
            isabel.atkinson@mongodb.com Isabel Atkinson
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None