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

Don't register OpObservers on the ServiceContextTestFixture

    • Fully Compatible
    • Sharding EMEA 2023-06-12

      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.

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

              Created:
              Updated:
              Resolved: