tikv / pd

Placement driver for TiKV
Apache License 2.0
1.03k stars 714 forks source link

tools/ut: accelerate the build process and scatter test #8342

Open HuSharp opened 4 days ago

HuSharp commented 4 days ago

What problem does this PR solve?

accelerate pd-ut, for now all tests can be executed in 5min

Issue Number: Ref #7969

What is changed and how does it work?

image

check junitfile

image

Check List

Tests

Release note

None.
HuSharp commented 4 days ago

/hold

HuSharp commented 3 days ago

/unhold

ti-chi-bot[bot] commented 3 days ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rleungx

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/tikv/pd/blob/master/OWNERS)~~ [rleungx] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ti-chi-bot[bot] commented 3 days ago

[LGTM Timeline notifier]

Timeline:

codecov[bot] commented 3 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.18%. Comparing base (114cb56) to head (01be4c6). Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #8342 +/- ## ========================================== + Coverage 77.17% 77.18% +0.01% ========================================== Files 470 470 Lines 61514 61584 +70 ========================================== + Hits 47471 47536 +65 + Misses 10473 10469 -4 - Partials 3570 3579 +9 ``` | [Flag](https://app.codecov.io/gh/tikv/pd/pull/8342/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/tikv/pd/pull/8342/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv) | `77.18% <100.00%> (+0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tikv#carryforward-flags-in-the-pull-request-comment) to find out more.