partition: fix unstable test TestExchangePartitionStates#46816
partition: fix unstable test TestExchangePartitionStates#46816ti-chi-bot[bot] merged 3 commits intopingcap:masterfrom
Conversation
|
Hi @jiyfhust. Thanks for your PR. I'm waiting for a pingcap member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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/test-infra repository. |
|
Hi @jiyfhust. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. DetailsInstructions 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/test-infra repository. |
|
/ok-to-test |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #46816 +/- ##
================================================
+ Coverage 73.3326% 74.1524% +0.8197%
================================================
Files 1322 1359 +37
Lines 396474 416782 +20308
================================================
+ Hits 290745 309054 +18309
- Misses 87208 89297 +2089
+ Partials 18521 18431 -90
Flags with carried forward coverage won't be shown. Click here to find out more.
|
| res := tk4.MustQuery(`admin show ddl jobs where db_name = '` + strings.ToLower(dbName) + `' and table_name = '` + tableName + `' and job_type = 'exchange partition'`).Rows() | ||
| if len(res) == 1 && res[0][pos] == s { | ||
| logutil.BgLogger().Info("Got state", zap.String("State", s)) | ||
| // Sleep 50ms to wait load InforSchema finish, issue #46815. |
There was a problem hiding this comment.
Maybe adding a retry is better?
|
/check-issue-triage-complete |
mjonss
left a comment
There was a problem hiding this comment.
Seems like an improvement. Would it be possible to actually check and wait for the infoSchema update?
I did not find a method to check it properly. |
|
PTAL @zimulala |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mjonss, zimulala The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What problem does this PR solve?
Issue Number: close #46815
Problem Summary:
What is changed and how it works?
Two ways to reproduce the error:
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.