Skip to content
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

feat: add parallel modes file to pipeline #15719

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cyw233
Copy link
Contributor

@cyw233 cyw233 commented Nov 24, 2024

Description of PR

Add parallel modes file option to pipeline so users can customize the parallel modes by using their own file in the test_parallel_modes/ folder.

Summary:
Fixes # (issue) Microsoft ADO 29867650

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 202012
  • 202205
  • 202305
  • 202311
  • 202405

Approach

What is the motivation for this PR?

We want users to be able to customize the parallel modes file, so we added the parallel modes file option to the pipeline.

How did you do it?

How did you verify/test it?

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

@@ -119,6 +119,10 @@ parameters:
type: string
default: ""

- name: PARALLEL_MODES_FILE
type: string
default: "default.json"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is recommended to leave this parameter empty, as parallel run is disabled by default and we already have a default value in test_plan.py and elastictest. Additionally, consider adding a comment for clarification if necessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea! Let me fix this

Copy link
Contributor

@lerry-lee lerry-lee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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