Split large change stream test files

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-106575 will add a large test file src/mongo/db/pipeline/document_source_change_stream_handle_topology_change_v2_test.cpp with several thousand lines of code.
      There is also an existing large test file src/mongo/db/pipeline/document_source_change_stream_test.cpp which is very large.

      Too large test files can affect the compile times negatively, and it therefore would be great to split them into smaller files.
      This is especially true for src/mongo/db/pipeline/document_source_change_stream_test.cpp, which currently contains tests for many different change stream stages.
      Ideally we would have a separate test file per individual change stream stage.

            Assignee:
            Unassigned
            Reporter:
            Jan Steemann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: