Fix sharded_search_network_interruption.js against a real mongot

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.1.0-rc1022, 9.0.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • v9.0
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Fixes BF-45993.

      `sharded_search_network_interruption.js` was migrated to the e2e suites in SERVER-131029 and kept
      the mocked original's empty `$search` query verbatim. The mock never validated query content, but a
      real mongot rejects it, and on sanitizer variants that rejection could surface instead of the
      interruption the test asserts on.

      The test now creates a search index and issues a query mongot accepts. It also distributes chunks
      across both shards before creating the index, which `createSearchIndex` requires on a sharded
      collection.

            Assignee:
            Will Buerger
            Reporter:
            Will Buerger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: