-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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: acquire lock before checking pendingRequests in controller test #42096
Conversation
fix race condition in TestQueueProducerBlocksUntilOutputIsSet
This pull request doesn't have a |
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
…#42096) (#42287) fix race condition in TestQueueProducerBlocksUntilOutputIsSet (cherry picked from commit 57eae3a) Co-authored-by: kruskall <[email protected]>
Proposed commit message
fix race condition in TestQueueProducerBlocksUntilOutputIsSet
controller.queueProducer
will modifypendingRequests
so we need to acquire a lock before checking the slicedata race:
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs