-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 StreamingDataflowWorkerTest #28173
Conversation
Assigning reviewers. If you would like to opt out of this review, comment R: @tvalentyn added as fallback since no labels match configuration Available commands:
The PR bot will only process comments in the main thread (not review comments). |
Thank you, @olalamichelle ! |
Co-authored-by: Fei Xie <[email protected]>
Interestingly, after merging this test worked well for a while but became highly flaky since Sept 8th: #28383 |
import static org.mockito.Mockito.mock; | ||
import static org.mockito.Mockito.verify; | ||
import static org.mockito.Mockito.when; | ||
import static org.mockito.Mockito.*; |
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.
btw beam does not use asterisk import, not sure why this wasn't caught by checkStyle
Use MockClock instead of real system clock to fix the test flakiness.