-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
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.