Look at replacing ServerDescriptionBuilder with BSON documents.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • Service Arch
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the Server Discovering and Monitoring tests, ServerDescriptionBuilder is used to create input objects to test the state machine. Consider using BSON documents if they are better fit.

      Specifically, the files in question are topology_state_machine_test.cpp, topology_manager_test.cpp, and server_description_test.cpp in this CR https://mongodbcr.appspot.com/501730001/diff/524160033/src/mongo/client/sdam/server_description.h#newcode166.

            Assignee:
            [DO NOT USE] Backlog - Service Architecture
            Reporter:
            Lamont Nelson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: