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

statistics: migrate test framework to testify #5140

Merged
merged 5 commits into from
Jun 13, 2022

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Jun 9, 2022

Signed-off-by: Ryan Leung rleungx@gmail.com

What problem does this PR solve?

Issue Number: Ref #4813.

What is changed and how does it work?

Check List

Tests

  • Unit test

Release note

None

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Jun 9, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • AndreMouche
  • JmPotato

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added the release-note-none Denotes a PR that doesn't merit a release note. label Jun 9, 2022
@rleungx rleungx mentioned this pull request Jun 9, 2022
85 tasks
@rleungx rleungx force-pushed the statistics-testify branch 2 times, most recently from 01c5cfe to 8895b8b Compare June 9, 2022 10:31
Signed-off-by: Ryan Leung <rleungx@gmail.com>
@codecov
Copy link

codecov bot commented Jun 9, 2022

Codecov Report

Merging #5140 (ca54f4d) into master (1c2a4da) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5140      +/-   ##
==========================================
- Coverage   75.65%   75.55%   -0.10%     
==========================================
  Files         309      309              
  Lines       30507    30507              
==========================================
- Hits        23079    23049      -30     
- Misses       5427     5447      +20     
- Partials     2001     2011      +10     
Flag Coverage Δ
unittests 75.55% <ø> (-0.10%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...erver/config/service_middleware_persist_options.go 88.88% <0.00%> (-11.12%) ⬇️
server/tso/allocator_manager.go 63.89% <0.00%> (-4.66%) ⬇️
pkg/dashboard/adapter/manager.go 74.71% <0.00%> (-4.60%) ⬇️
server/member/member.go 62.10% <0.00%> (-1.58%) ⬇️
server/schedulers/evict_leader.go 78.82% <0.00%> (-0.91%) ⬇️
client/base_client.go 79.38% <0.00%> (-0.52%) ⬇️
server/schedulers/hot_region.go 83.52% <0.00%> (-0.29%) ⬇️
server/server.go 72.46% <0.00%> (-0.28%) ⬇️
server/cluster/cluster.go 83.82% <0.00%> (-0.28%) ⬇️
server/tso/tso.go 68.92% <0.00%> (ø)
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1c2a4da...ca54f4d. Read the comment docs.

@rleungx rleungx requested review from JmPotato and nolouch and removed request for disksing and lhy1024 June 10, 2022 03:07
Signed-off-by: Ryan Leung <rleungx@gmail.com>
@rleungx rleungx requested a review from AndreMouche June 10, 2022 07:34
@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jun 13, 2022
Signed-off-by: Ryan Leung <rleungx@gmail.com>
Copy link
Member

@AndreMouche AndreMouche 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-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jun 13, 2022
@rleungx
Copy link
Member Author

rleungx commented Jun 13, 2022

/merge

@ti-chi-bot
Copy link
Member

@rleungx: It seems you want to merge this PR, I will help you trigger all the tests:

/run-all-tests

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 1eadb2c

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 13, 2022
@ti-chi-bot
Copy link
Member

@rleungx: Your PR was out of date, I have automatically updated it for you.

At the same time I will also trigger all tests for you:

/run-all-tests

If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot ti-chi-bot merged commit 958d687 into tikv:master Jun 13, 2022
CabinfeverB pushed a commit to CabinfeverB/pd that referenced this pull request Jul 14, 2022
ref tikv#4813

Signed-off-by: Ryan Leung <rleungx@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants