Skip to content

DEVPROD-16911 make number of sub-tasks configurable #94

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 18, 2025
Merged

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.

2 participants