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

Use dynamic import for parallel tester

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Server Serverless 2023-02-06

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: