Make consistency checker not depend on imports

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2026-03-16
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Fix BF-41890, by avoiding importing JavaScript code from `jstests/` in files located under `src/mongo/shell/`.
      Apparently importing files from outside the bundled JavaScript directory `src/mongo/shell/` does not always work.
      Such imports were added recently via SERVER-119350. Since that PR was merged, a subset of `sys-perf` tests have started failing.
      This PR is an attempt to fix these test failures.

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

              Created:
              Updated:
              Resolved: