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

Add stringifyForAssert for DatabaseName

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Serverless
    • Fully Compatible
    • Server Serverless 2023-07-10, Server Serverless 2023-07-24
    • 1

      We have removed `DatabaseName::toString` used by the generic stringifyForAssert. We need a function to print DatabaseName correctly when a unit test fail, therefore we will make a specialized `stringifyForAssert` function for DatabaseName.

      Refer to the stringfyForAssert for NamespaceString class.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: