-
Notifications
You must be signed in to change notification settings - Fork 288
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
sink(ticdc): fix broken test in cdc/sink/mq & migrate test-infra to testify #5386
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
d6b42fc
to
60ac05f
Compare
/run-all-tests |
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.
Thanks!
cdc/sink/mq/mq_flush_worker_test.go
Outdated
err := worker.addEvent(context.Background(), event) | ||
require.NoError(t, err) | ||
err := worker.addEvent(ctx, event) | ||
if event.row == nil || event.row.CommitTs != math.MaxUint64 { |
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 don't quite understand this judgment, can you explain it?
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.
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.
Could you please add a comment here? Thanks!
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.
Thanks for working on this. Could you please resolve the conflict?
f21ba51
to
0eab07d
Compare
0eab07d
to
5c54e1a
Compare
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 0078166
|
/run-dm-integration-test |
/run-integration-test |
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #5386 +/- ##
================================================
+ Coverage 55.9233% 56.2362% +0.3128%
================================================
Files 528 530 +2
Lines 69935 69962 +27
================================================
+ Hits 39110 39344 +234
+ Misses 27100 26858 -242
- Partials 3725 3760 +35 |
/run-all-tests |
@CharlesCheung96: Your PR was out of date, I have automatically updated it for you. At the same time I will also trigger all tests for you: /run-all-tests If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes. 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 ti-community-infra/tichi repository. |
/run-verify |
What problem does this PR solve?
Issue Number: close #2907
What is changed and how it works?
Check List
Tests
Code changes
Release note