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

Tests with ServiceContext use should be ServiceContextTests

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:

      Description

      We have a small handful of tests that make use of ServiceContext pointers but are not derived from ServiceContextTest:

      Show all

      src/mongo/client/server_is_master_monitor_test.cpp
      src/mongo/client/server_ping_monitor_test.cpp
      src/mongo/db/operation_context_test.cpp
      src/mongo/util/future_util_test.cpp
      

      We should convert them to be ServiceContextTest and become DRYer.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tyler.seip Tyler Seip
              Reporter:
              ben.caimano Benjamin Caimano (Inactive)
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: