Skip to content

Conversation

@sleaux
Copy link
Collaborator

@sleaux sleaux commented Apr 18, 2025

This extends the capability for configuring the number of sub-tasks to all generated task types (previously this was only available for fuzzer tasks). The number of generated subtasks is now configurable using num_tasks, with the default still being to use 5.

Usage:

- <<: *gen_task_template
  name: auth_gen
  tags: ["auth"]
  commands:
  - func: "generate resmoke tasks"
    vars:
      num_tasks: 10

@sleaux sleaux requested a review from Trevor159 April 18, 2025 14:45
@sleaux sleaux marked this pull request as ready for review April 18, 2025 14:45
@sleaux
Copy link
Collaborator Author

sleaux commented Apr 18, 2025

In addition to the integration testing here, I also tested this in mongodb-mongo-master, splitting some generated tasks into different numbers of subtasks.

@sleaux sleaux added this pull request to the merge queue Apr 18, 2025
Merged via the queue into master with commit 5192a8c Apr 18, 2025
2 checks passed
@sleaux sleaux deleted the sleaux/subtasks branch April 18, 2025 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants