Skip to content
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 flaky test ProducerTest.testWaitForExclusiveProducer #233

Merged
merged 1 commit into from
Mar 27, 2023

Conversation

shibd
Copy link
Member

@shibd shibd commented Mar 25, 2023

Motivation

#135

The root cause is when the latch.wait() is passed, producer2 maybe not be set.

Modifications

  • Set producer2 before latch.countdown().

Documentation

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@shibd shibd added this to the 3.2.0 milestone Mar 25, 2023
@shibd shibd self-assigned this Mar 25, 2023
@shibd shibd merged commit 14623ca into apache:main Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants