Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2743

Improve code coverage for mongoc-cluster

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: auth, Testing
    • None

      There are several large chunks of code in mongoc-cluster that aren't being run in any test. Namely, _mongoc_cluster_build_basic_auth_digest, _mongoc_cluster_auth_node_cr, _mongoc_cluster_auth_node_plain, and _mongoc_cluster_auth_node_x509. Look into adding tests for these functions.

      See https://codecov.io/gh/mongodb/mongo-c-driver/src/54fbbb7c076128896b4fd2450b7fed2339f1a2f0/src/libmongoc/src/mongoc/mongoc-cluster.c to see a more detailed report on this.

            Assignee:
            Unassigned Unassigned
            Reporter:
            spencer.mckenney Spencer Mckenney
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: