Move change stream stage test fixtures out of document_source_change_stream_test.cpp

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: Change streams
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-07-21
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      document_source_change_stream_test.cpp is already quite large (5694 loc at the moment), and we will need to add many more tests for change stream stages in SPM-1941. Adding more tests will increase the size of the file even more.
      The new tests to be added will need the same change stream stage test fixtures that are provided by [document_source_change_stream_test.cpp, e.g. ChangeStreamStageTest and ChangeStreamStageTestNoSetup.
      We should move these fixtures out into separate files (.h and .cpp) so they can be accessed from the existing tests, but also from new tests for change stream stages.

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

                Created:
                Updated:
                Resolved: