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

Don't register OpObservers on the ServiceContextTestFixture

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Sharding EMEA 2023-06-12

    Description

      The OpObservers are exclusively a ShardRole (MongoD) concept whereas the ServiceContextTestFixture is supposed to be a generic low level utility for writing tests that need to have an OperationContext and don't necessarily access data.

      Because of this, it should not know about OpObservers.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: