-
Notifications
You must be signed in to change notification settings - Fork 289
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
*: build sync_diff_inspector from source code to run tests #11988
Conversation
e719aa3
to
4feb8af
Compare
/hold |
/retest |
Corresponding tiflow PR: pingcap/tiflow#11988 This is the first step of CI changes. The change of pull_dm_integration_test and pull_engine_integration_test will be added in another PR.
/retest |
/retest |
return iter, nil | ||
} | ||
|
||
func (t *ChunksIterator) produceChunks(startRange *splitter.RangeInfo) { | ||
defer func() { | ||
t.pool.WaitFinished() |
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.
we return early on error, will it leak anything without wait?
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.
Actually, the change here (t.pool.WaitFinished()
) was added when I migrate the code in the last PR.
Here I just revert the change again...
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
/retest |
/retest |
/unhold |
/retest |
1 similar comment
/retest |
What problem does this PR solve?
Issue Number: close #11672
What is changed and how it works?
Use sync_diff_inspector built from source to run all tests.
There are 7 CI related to this PR:
The original logic of these CI can be summarized as:
Changes of the first five CI is simple, just remove the version check of sync_diff_inspector since we will build sync_diff_inspector from source in the third step, see PingCAP-QE/ci#3315. You can check the result of these CI in this PR.
And changes of the last two CI will be merged in PingCAP-QE/ci#3316. @purelind has helped me to rerun these two test using this PR and modified CI. Below are the records of successful test:
This PR will be merged with the CI changes by @purelind during free time.
Check List
Tests
Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note