Repository navigation
[improve][test] Improve NamespacesTest to reduce the execution time - #17875
Merged
codelipenghui merged 4 commits intoNov 2, 2022
Merged
Conversation
14 tasks done
codelipenghui
approved these changes
Oct 13, 2022
Contributor
|
@poorbarcode Please help resolve the conflicts |
poorbarcode
force-pushed
the
make_faster/NamespacesTest
branch
from
October 13, 2022 07:43
4ff6488 to
0519e92
Compare
Codecov Report
@@ Coverage Diff @@
## master #17875 +/- ##
============================================
- Coverage 38.97% 38.77% -0.21%
+ Complexity 8311 8282 -29
============================================
Files 683 685 +2
Lines 67325 67340 +15
Branches 7217 7217
============================================
- Hits 26239 26108 -131
- Misses 38079 38243 +164
+ Partials 3007 2989 -18
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Contributor
Author
|
/pulsarbot rerun-failure-checks |
3 similar comments
Contributor
Author
|
/pulsarbot rerun-failure-checks |
Contributor
Author
|
/pulsarbot rerun-failure-checks |
Contributor
Author
|
/pulsarbot rerun-failure-checks |
poorbarcode
force-pushed
the
make_faster/NamespacesTest
branch
from
October 14, 2022 01:33
0519e92 to
d849345
Compare
Contributor
Author
|
rebase master |
Contributor
Author
|
/pulsarbot rerun-failure-checks |
poorbarcode
force-pushed
the
make_faster/NamespacesTest
branch
2 times, most recently
from
October 14, 2022 19:32
e766544 to
f466f3a
Compare
congbobo184
approved these changes
Oct 21, 2022
Contributor
|
/pulsarbot rerun-failure-checks |
1 similar comment
Contributor
Author
|
/pulsarbot rerun-failure-checks |
poorbarcode
force-pushed
the
make_faster/NamespacesTest
branch
from
October 28, 2022 02:07
3daddd9 to
491f954
Compare
Contributor
Author
|
rebase master |
poorbarcode
force-pushed
the
make_faster/NamespacesTest
branch
from
October 31, 2022 16:28
491f954 to
3d31238
Compare
Contributor
Author
|
/pulsarbot rerun-failure-checks |
Contributor
Author
|
/pulsarbot rerun-failure-checks |
1 of 2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #17622
Motivation & Modifications
Manually release resources, including
consumer,producer,pulsar client,transaction, andtopic. This savessetupandcleanuptime before and after each method.Set client
operationTimeoutto1s(default value is30s), This saves retry time for creating consumer & producer: MethodtestMaxTopicsPerNamespacetriggers multiple retries due to reaching the maximum topic limit, this costs2minDocumentation
doc-not-neededMatching PR in forked repository
PR in forked repository: