Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-44069

Look at replacing ServerDescriptionBuilder with BSON documents.

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

      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:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            lamont.nelson@mongodb.com Lamont Nelson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: