You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DAG-2546 Improve UX of generated multiversion tasks (#59)
* Working task generation
* Removed dead code and fixed up burn_in_tests.rs
* Fixed/added tests
* update changelog and version
* Updated doc strings
* Docs
* Only generate tasks taht match the old version from the multiversion-config
* version bump
A task is marked as a multiversion version task by including `"multiversion"` in the `tags` section
156
156
of the task definition. When this tag is present, both the extra setup steps and the generation
157
-
of multiversion sub-tasks will be preformed. In order to only perform the extra setup steps
158
-
the `"no_version_combinations"` tag should also be included.
157
+
of multiversion sub-tasks will be performed. In order to only perform the extra setup steps
158
+
the `"no_multiversion_generate_tasks"` tag should also be included. This is typically used for [explicit multiversion](https://github.com/10gen/mongo/blob/99f7a334eee4b724a231c0db75052eb8199ad8e1/docs/evergreen-testing/multiversion.md#explicit-and-implicit-multiversion-suites) tasks since those suites explicitly test against various mongodb topologies/versions and do not require running additional suites/tasks to ensure multiversion suite converage.
159
159
160
+
[Implicit multiversion](https://github.com/10gen/mongo/blob/99f7a334eee4b724a231c0db75052eb8199ad8e1/docs/evergreen-testing/multiversion.md#explicit-and-implicit-multiversion-suites) tasks on the other hand must be configured differently to account for various multiversion topologies/version combinations. Here is an example:
The `"initialize multiversion tasks"` function has all of the related suites to run as sub-tasks of this task as variable names and the "old" version to run against as the values. The absence of the `"no_multiversion_generate_tasks"` tag indicates to the task generator to generate sub-tasks for this task according to the `"initialize multiversion tasks"` function variables. Because the `suite` name is embedded in the `"initialize multiversion tasks"` variables, a `suite` variable passed to `"generate resmoke tasks"` will have no effect. Additionally, the variable/suite names in `"initialize multiversion tasks"` must be globally unique because these are ultimately going to become the sub-task name and evergreen requires task names to be unique.
160
179
### Burn in tests, burn in tags and burn in tasks
161
180
162
181
Newly added or modified tests might become flaky. In order to avoid that, those tests can be run
0 commit comments