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

Update TestClient to handle apiStrict

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0-alpha.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      As part of the Versioned API POC in RUST-577, the TestClient was updated to only conditionally invoke buildInfo when it is created to allow it work even when used with apiStrict: true. This is problematic because any of the helpers that rely on this information will panic when called. We should update the way we handle this situation to avoid any possible panics.

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

              Created:
              Updated:
              Resolved: