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

KAFKA-18038: fix flakey test StreamThreadTest.shouldLogAndRecordSkippedRecordsForInvalidTimestamps #17889

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

mjsax
Copy link
Member

@mjsax mjsax commented Nov 21, 2024

With KAFKA-17872, we changed some internals that effects the conditions of this test, introducing a race condition when the expected log messages are printed.

This PR adds additional wait-conditions to the test to close the race condition.

…edRecordsForInvalidTimestamps

With KAFKA-17872, we changed some internals that effects the conditions
of this test, introducing a race condition when the expected log
messages are printed.

This PR adds additional wait-conditions to the test to close the race
condition.
@mjsax mjsax added streams tests Test fixes (including flaky tests) labels Nov 21, 2024
@github-actions github-actions bot added the small Small PRs label Nov 21, 2024
Copy link
Contributor

@bbejeck bbejeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update to the test @mjsax LGTM

@mjsax mjsax merged commit 2519e4a into apache:trunk Nov 21, 2024
10 checks passed
@mjsax mjsax deleted the kafka-18038-fix-flaky-streamthreadtest branch November 21, 2024 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small Small PRs streams tests Test fixes (including flaky tests)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants