Parameterize remaining sorter and spiller tests not gated on resumability

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2026-05-11
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Add test coverage for the container-based sorter/spiller backend in cases that do not require resumability support (SERVER-120078).

      Tests to be parameterized or moved:

      • InMemIterTest::SpillDoesNotChangeResultAndUpdateStatistics — parameterize over both FileTraits<> and ContainerTraits<>. Tracker-level assertions (spilledRanges, spilledKeyValuePairs, bytesSpilled*) apply to both backends; file-stats assertions are gated on kHasFileStats.
      • FileBasedMakeFromExistingRangesTest::SkipFileCheckingOnEmptyRanges — move to MakeFromExistingRangesTest (already parameterized over both backends). The test passes empty ranges, so no data is read from the resumed spiller; ContainerTraits::makeSpillerForResume needs only a minimal stub returning a fresh spiller.

      No changes to production source are required.

            Assignee:
            Malik Endsley
            Reporter:
            Malik Endsley
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: