-
Notifications
You must be signed in to change notification settings - Fork 724
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
scheduler: add test for creating evict-leader-scheduler twice #8757
Conversation
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
/retest |
/test pull-integration-realcluster-test Test passed, trigger second test |
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8757 +/- ##
==========================================
- Coverage 75.24% 75.22% -0.03%
==========================================
Files 456 458 +2
Lines 71608 71694 +86
==========================================
+ Hits 53884 53930 +46
- Misses 14295 14330 +35
- Partials 3429 3434 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: okJiang <[email protected]>
Grant-leader exists bug. It will not work in some specific conditions... I have to find it firstly. So this pr hold |
PR needs rebase. 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 kubernetes-sigs/prow repository. |
…-donot-work Signed-off-by: okJiang <[email protected]>
Signed-off-by: okJiang <[email protected]>
/test pull-integration-realcluster-test |
The issue has been fixed by https://github.com/tikv/pd/pull/8623/files#diff-a220672e83f3e5fa65303ae268e69c0e4bcabebd6d3b5d1c81898504f9ac5095R496-R503. Assuming there are three nodes: store0, store1, and store2, we set up Then, when the This is a grant-leader-scheduler problem. So we do not need to pick it to previous versions. |
/retest |
if i == 1 { | ||
time.Sleep(3 * time.Second) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should cover this kind of waiting inside the testutil.Eventually
below.
if i == 1 { | ||
time.Sleep(3 * time.Second) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JmPotato, lhy1024 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:
Approvers can indicate their approval by writing |
/retest |
/retest |
close tikv#8756 Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created to branch |
In response to a cherrypick label: new pull request created to branch |
close tikv#8756 Signed-off-by: ti-chi-bot <[email protected]>
close tikv#8756 Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created to branch |
close tikv#8756 Signed-off-by: ti-chi-bot <[email protected]>
In response to a cherrypick label: new pull request created to branch |
What problem does this PR solve?
Issue Number: Close #8756
What is changed and how does it work?
Check List
Tests
Release note