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

split unittest tasks up

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.6, 6.0.14, 8.0.0-rc0, 7.3.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Build
    • Fully Compatible
    • v7.3, v7.0, v6.0
    • 113


      The new task will use scons to compile the unittests in 4 different tasks. We will create 4 alias targets in scons by taking the sources of the existing install-unittests alias, and splitting them into 4 equal in number groups. They will be labeled install-

      {first, second, third, fourth}

      -quarter-unittests. These targets will be invoked in the corresponding 1 of 4 tasks. Then in the same task, resmoke will then be invoked using the build/install dir default to execute all the unittests that exist in the directory.

      These tasks will diverge from the standard task group framework, and will execute on new individual hosts. This will leverage the scons cache heavily, as all the required prerequisite build artifacts must be in place. The tasks will have dependencies on the normal compile tasks, and so the cache is assumed to (in the normal case) be hot for these tasks and no extra duplicative building will take place.

            daniel.moody@mongodb.com Daniel Moody
            daniel.moody@mongodb.com Daniel Moody
            0 Vote for this issue
            8 Start watching this issue