-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
fix: delete event cache deadlock test flakiness #15955 #15964
Merged
leoluz
merged 1 commit into
argoproj:master
from
nromriell:fix-delete-event-cache-deadlock-test
Oct 16, 2023
Merged
fix: delete event cache deadlock test flakiness #15955 #15964
leoluz
merged 1 commit into
argoproj:master
from
nromriell:fix-delete-event-cache-deadlock-test
Oct 16, 2023
Conversation
This file contains 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
Signed-off-by: Nathan Romriell <[email protected]>
nromriell
force-pushed
the
fix-delete-event-cache-deadlock-test
branch
from
October 13, 2023 19:51
bb42748
to
d38bbc4
Compare
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #15964 +/- ##
==========================================
- Coverage 49.67% 49.66% -0.01%
==========================================
Files 267 267
Lines 46383 46383
==========================================
- Hits 23039 23036 -3
- Misses 21084 21086 +2
- Partials 2260 2261 +1 ☔ View full report in Codecov by Sentry. |
leoluz
approved these changes
Oct 16, 2023
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
Thank you!
ymktmk
pushed a commit
to ymktmk/argo-cd
that referenced
this pull request
Oct 29, 2023
Signed-off-by: Nathan Romriell <[email protected]>
jmilic1
pushed a commit
to jmilic1/argo-cd
that referenced
this pull request
Nov 13, 2023
Signed-off-by: Nathan Romriell <[email protected]> Signed-off-by: jmilic1 <[email protected]>
vladfr
pushed a commit
to vladfr/argo-cd
that referenced
this pull request
Dec 13, 2023
Signed-off-by: Nathan Romriell <[email protected]>
tesla59
pushed a commit
to tesla59/argo-cd
that referenced
this pull request
Dec 16, 2023
Signed-off-by: Nathan Romriell <[email protected]>
lukaszgyg
pushed a commit
to lukaszgyg/argo-cd
that referenced
this pull request
Jan 12, 2024
Signed-off-by: Nathan Romriell <[email protected]>
Hariharasuthan99
pushed a commit
to AmadeusITGroup/argo-cd
that referenced
this pull request
Jun 16, 2024
Signed-off-by: Nathan Romriell <[email protected]>
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.
Closes #15955
The timing between the two test goroutines could cause issues trying to re-create the deadlock condition causing the test to occasionally fail. Fixed by adding the same wait for condition that was already present in the
EnsureSynced
function to theInvalidate
function as well as a condition to wait until both functions had completed.Some minor cleanup of the test and naming to make it slightly more readable
Checklist: