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

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

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

      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.

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

              Created:
              Updated:
              Resolved: