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

Unified CRUD tests should use isClientError where appropriate

    XMLWordPrintableJSON

Details

    • Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • CRUD
    • None
    • Needed

    Description

      Summary

      The ported v2 CRUD tests do not make use of isClientError, since there was no equivalent in the legacy format (tests typically relied on APM to assert that no commands were issued). That will likely be the case when v1 tests are ported as well.

      Once all of the CRUD tests are ported, we should replace isError with isClientError where appropriate.

      Motivation

      Who is the affected end user?

      Internal to drivers.

      Is this issue urgent?

      No.

      Is this ticket required by a downstream team?

      No.

      Is this ticket only for tests?

      Yes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: