Repository navigation
[fix][test] Reduce flakiness of AdminApi2Test - #20529
Merged
Merged
Conversation
lhotari
requested review from
eolivelli,
mattisonchao,
michaeljmarshall and
nicoloboschi
June 7, 2023 12:38
Member
Author
|
/pulsarbot rerun-failure-checks |
eolivelli
approved these changes
Jun 7, 2023
eolivelli
left a comment
Contributor
There was a problem hiding this comment.
+1
Also this test class is very big, maybe it would be worth splitting it into smaller classes
- calling resetConfig method between test methods is the wrong solution - use unique tenants and namespaces to make it easier to track where the possibly conflicting topics were created, if the problems preserve
lhotari
force-pushed
the
lh-fix-flaky-AdminApi2Test
branch
from
June 7, 2023 14:02
faf1d9a to
81eb7d0
Compare
Member
Author
+1 |
michaeljmarshall
approved these changes
Jun 7, 2023
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #20529 +/- ##
============================================
- Coverage 72.93% 72.90% -0.04%
+ Complexity 31930 31820 -110
============================================
Files 1867 1867
Lines 138555 138554 -1
Branches 15218 15218
============================================
- Hits 101059 101015 -44
- Misses 29466 29522 +56
+ Partials 8030 8017 -13
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
lhotari
added a commit
that referenced
this pull request
Jun 7, 2023
(cherry picked from commit 60dba5d)
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 #20376
Motivation
AdminApi2Test is extremely flaky and causes most builds to fail.
Modifications
Documentation
docdoc-requireddoc-not-neededdoc-complete