-
Notifications
You must be signed in to change notification settings - Fork 286
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
test(ticdc): migrate test-infra to testify for cdc/kv pkg (#2899) #4515
test(ticdc): migrate test-infra to testify for cdc/kv pkg (#2899) #4515
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. |
/run-dm-integration-tests |
3958d26
to
cb30f1f
Compare
cdc/kv/token_region_test.go
Outdated
defer testleak.AfterTest(c)() | ||
s.testRouterWithConsumer(c, func() { time.Sleep(time.Millisecond * 15) }) | ||
func TestRouterWithSlowConsumer(t *testing.T) { | ||
defer testleak.AfterTestT(t) |
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.
Why not remove this line: defer testleak.AfterTestT(t)
?
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.
Already removed, PTAL
cb30f1f
to
c2d26ea
Compare
/run-all-tests |
c2d26ea
to
39338c7
Compare
/run-all-tests |
7814019
to
e3e5707
Compare
/run-all-tests |
1 similar comment
/run-all-tests |
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #4515 +/- ##
================================================
- Coverage 55.6402% 55.5109% -0.1294%
================================================
Files 494 506 +12
Lines 61283 62494 +1211
================================================
+ Hits 34098 34691 +593
- Misses 23750 24332 +582
- Partials 3435 3471 +36 |
/run-all-tests |
/run-all-tests |
/run-kafka-integration-tests |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 901e6ff
|
What problem does this PR solve?
Issue Number: close #2899
What is changed and how it works?
Migrate all test cases under cdc/kv to testify.
Check List
Tests
Release note