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

test: add a new parameter to pass the server name for config #2937

Merged
merged 3 commits into from
Sep 9, 2020

Conversation

JmPotato
Copy link
Member

@JmPotato JmPotato commented Sep 9, 2020

Signed-off-by: JmPotato [email protected]

What problem does this PR solve?

Before this PR, the NewTestCluster in test can only create servers with the same config. But in some cases, we need to give different servers with different configs such as dc-location from #2925. So I update the ConfigOption to make the config generator can pass the server name such as pd1 with this function so that we can do some personalization to the configuration.

What is changed and how it works?

Introduce a new parameter to pass the server name for config in ConfigOption.

Check List

Tests

  • Unit test

Release note

@JmPotato JmPotato added component/testing CI testing. require-LGT1 Indicates that the PR requires an LGTM. labels Sep 9, 2020
Copy link
Member

@HunDunDM HunDunDM left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Sep 9, 2020
@HunDunDM
Copy link
Member

HunDunDM commented Sep 9, 2020

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Sep 9, 2020
@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot
Copy link
Contributor

@JmPotato merge failed.

@JmPotato JmPotato merged commit 6a9d0c1 into tikv:master Sep 9, 2020
@JmPotato JmPotato deleted the server_level_config branch September 9, 2020 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/testing CI testing. require-LGT1 Indicates that the PR requires an LGTM. status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants