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

Sort out the unit tests #7930

Open
JmPotato opened this issue Mar 18, 2024 · 0 comments
Open

Sort out the unit tests #7930

JmPotato opened this issue Mar 18, 2024 · 0 comments
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@JmPotato
Copy link
Member

JmPotato commented Mar 18, 2024

Enhancement Task

At present, PD's unit tests are doped with some tests that will start the actual etcd/PD cluster. We should classify them as integrated tests and move them to the tests directory.

In addition, it is also necessary to provide clearer make commands to run the different tests, which helps us quickly verify any changes locally.

@JmPotato JmPotato added the type/enhancement The issue or PR belongs to an enhancement. label Mar 18, 2024
ti-chi-bot bot added a commit that referenced this issue Mar 19, 2024
ref #7930

Signed-off-by: husharp <jinhao.hu@pingcap.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot bot added a commit that referenced this issue Mar 19, 2024
ref #7930

reduce 30s to 5s

Signed-off-by: husharp <jinhao.hu@pingcap.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot bot pushed a commit that referenced this issue Mar 19, 2024
ref #7930

Signed-off-by: lhy1024 <admin@liudos.us>
ti-chi-bot bot pushed a commit that referenced this issue Mar 20, 2024
ref #7930

Signed-off-by: husharp <jinhao.hu@pingcap.com>
ti-chi-bot bot pushed a commit that referenced this issue Mar 21, 2024
ref #7930

Signed-off-by: lhy1024 <admin@liudos.us>

Co-authored-by: disksing <i@disksing.com>
ti-chi-bot bot added a commit that referenced this issue Mar 21, 2024
#7950)

ref #7930

which can use parallel test

Signed-off-by: husharp <jinhao.hu@pingcap.com>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot bot added a commit that referenced this issue Mar 25, 2024
ref #7930

Signed-off-by: lhy1024 <admin@liudos.us>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
ti-chi-bot bot pushed a commit that referenced this issue Mar 27, 2024
ref #7930

Signed-off-by: husharp <jinhao.hu@pingcap.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant