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

Fix stability PD Failover check #2607

Merged
merged 13 commits into from Jun 8, 2020
Merged

Conversation

Yisaer
Copy link
Contributor

@Yisaer Yisaer commented Jun 2, 2020

What problem does this PR solve?

Fix the pd failover check in stability test

Related changes

  • Need to cherry-pick to the release branch

Does this PR introduce a user-facing change?:

NONE

@Yisaer Yisaer marked this pull request as draft June 2, 2020 10:17
@Yisaer Yisaer changed the title [DNM] fix stability test bug Fix stability PD Failover check Jun 3, 2020
@Yisaer Yisaer marked this pull request as ready for review June 3, 2020 11:34
weekface
weekface previously approved these changes Jun 3, 2020
@@ -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())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

klog.Error(err)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

Copy link
Contributor

@zjj2wry zjj2wry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 4, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 4, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Jun 4, 2020

@Yisaer merge failed.

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 4, 2020

/run-e2e-in-kind

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 4, 2020

/run-e2e-tests

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 4, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 4, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Jun 4, 2020

@Yisaer merge failed.

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 4, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 4, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Jun 4, 2020

@Yisaer merge failed.

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 4, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 4, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Jun 4, 2020

@Yisaer merge failed.

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 5, 2020

/run-e2e-in-kind

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 5, 2020

/run-e2e-test

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 5, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 5, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Jun 5, 2020

@Yisaer merge failed.

@Yisaer
Copy link
Contributor Author

Yisaer commented Jun 8, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 8, 2020

Your auto merge job has been accepted, waiting for:

  • 2636

@sre-bot
Copy link
Contributor

sre-bot commented Jun 8, 2020

/run-all-tests

@sre-bot sre-bot merged commit 3ba638d into pingcap:master Jun 8, 2020
sre-bot pushed a commit to sre-bot/tidb-operator that referenced this pull request Jun 8, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jun 8, 2020

cherry pick to release-1.1 in PR #2645

sre-bot added a commit that referenced this pull request Jun 8, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>

Co-authored-by: Song Gao <disxiaofei@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants