Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-73541

Use dynamic import for parallel tester

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Server Serverless 2023-02-06

      The parallel tester works by splitting eligible jstests into batches (~4), and then serially load ing them into a Thread spawned for each batch. This approach will not work with jstests which are not wrapped with an IIFE, and will not work when all tests are eventually modules. Instead, we should use dynamic import to load these tests, ensuring they are in their own scope.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: