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

Incorrect destruction order of Cache vs ThreadPool in the ReadThroughCache unit-tests

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-06-01
    • 0

    Description

      Some of the ReadThroughCache unit-tests first create the ThreadPool, then the Cache for testing.

      This order contradicts the contract of ReadThroughCache.

      As part of this ticket we should see if there is some generic pattern that can be used for these unit-tests (e.g., this) in order to ensure they all comply instead of fixing them one by one.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: