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
    • None
    • Build
    • Fully Compatible
    • v7.3, v7.0, v6.0
    • 120

      https://docs.google.com/document/d/1G0iuLtuDbkf8qOiytr06JrrK0_3p3NocXspx1sk0_FQ/edit

      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.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: