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

add namespace to the filename tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.0, v5.0, v4.4
    • Dev Platform 2022-05-02, Dev Platform 2022-05-16

      Many of the tests can be called directly from the command line by just using the test name, but this also puts a requirement that the source files have globally unique names. If we add a namespace to the test, then we can avoid this limitation.

      For example theĀ cancelable_operation_context_test lives in the db_unittest_test binary, so if we added namespacing, the test would now be invoked via +db_unittest_cancelable_operation_context_test.

      The main drawback is the length of the names will become much larger. This may not matter much considering autocomplete features available.

            Assignee:
            richard.samuels@mongodb.com Richard Samuels (Inactive)
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: