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

Make ServiceContextMongoDTest support instantiation of different storage engines

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Testing Infrastructure
    • None
    • Sharding 2017-10-02

    Description

      Currently the ServiceContextMongoDTest is the only fixture which instantiates storage engine and many tests depend on that. However it can only create an ephemeralForTest storage engine, which makes it unsuitable for unit-tests, which need to exercise concurrency.

      It should be extended with a constructor, which accepts StorageGlobalParams in order to allow it to be configured with a storage engine:

      ServiceContextMongoDTest(const StorageGlobalParams& storageParams);
      

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: