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

Move some repeated query shape test code into a shared place

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration

      Came up during development of SERVER-83531. We have a couple unit tests of DocumentSources which serialize themselves - and lots of them repeat the code to call the public serializeToArray method and then assert there is 1 stage.

      Also there are a growing number of tests that use the serialization options - might be nice to have shorter or more concise ways to do that.

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: