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

Replace DatabaseName::db() with other proper functions in unit test codes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Server Serverless 2023-06-26
    • 2

      We are making `DatabaseName::db()` private, we need to replace the related call sites in unit test:

      • use toString_forTest().
      • use DatabaseName::serialize() if the db name is global const db name `DatabaseName::k*`.

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

              Created:
              Updated:
              Resolved: