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

Use the fixture's instance of ServiceContext in CacheTest tests

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • Service Arch 2021-07-12
    • 1

      The unit-tests should get a pointer to an instance of service context by calling getServiceContext(), instead of constructing a new, local instance every time.

            Assignee:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Reporter:
            amirsaman.memaripour@mongodb.com Amirsaman Memaripour
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: