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
Fix stability PD Failover check #2607
Conversation
tests/failover.go
Outdated
@@ -61,43 +61,74 @@ func (oa *operatorActions) DeletePDDataThenCheckFailover(info *TidbClusterConfig | |||
} | |||
klog.Infof("delete pod %s/%s data successfully", ns, podName) | |||
|
|||
oldPD, err := oa.kubeCli.CoreV1().Pods(ns).Get(podName, metav1.GetOptions{}) | |||
if err != nil { | |||
klog.Error(err.Error()) |
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.
klog.Error(err)
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.
updated.
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.
lgtm
/merge |
/run-all-tests |
@Yisaer merge failed. |
/run-e2e-in-kind |
/run-e2e-tests |
/merge |
/run-all-tests |
@Yisaer merge failed. |
/merge |
/run-all-tests |
@Yisaer merge failed. |
/merge |
/run-all-tests |
@Yisaer merge failed. |
/run-e2e-in-kind |
/run-e2e-test |
/merge |
/run-all-tests |
@Yisaer merge failed. |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
Signed-off-by: sre-bot <sre-bot@pingcap.com>
cherry pick to release-1.1 in PR #2645 |
What problem does this PR solve?
Fix the pd failover check in stability test
Related changes
Does this PR introduce a user-facing change?: