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

compiling and running unittests should be a single task

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Fully Compatible
    • DAG 2019-08-26
    • 2

      As part of SERVER-33963, the unittest tests were split up into 2 tasks, one to compile the unittests and one to run the unittests. They were also put in a task group with max hosts of 1 since in order to run the unittests, you need the artifacts generated by compiling them. However, task groups do not have a hard guarantee that later tasks will run on the same host as earlier task. For tasks that can share a setup, task groups work well for saving some time by sharing setup execution, but they provide inconsistent results when sharing artifacts between tasks.

      We should switch the compile and run tasks back to be a single task, so that the unittest task can be more reliable.


      As a Server Engineer,
      I want compile unittest and run unittest to be in a single task,
      So that it will not fail due to the tasks being run on different hosts.


      AC:

      • compile unittests and run unittests run as a single task.

            Assignee:
            lydia.stepanek@mongodb.com Lydia Stepanek (Inactive)
            Reporter:
            david.bradford@mongodb.com David Bradford (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: