GeorgeJahad opened a new pull request, #4592: URL: https://github.com/apache/ozone/pull/4592
## What changes were proposed in this pull request? This test was flaky because one thread trys to read the log output from another thread before the log has been generated. I confirmed this by hitting a breakpoint on the assertion failure, then looking at the log and seeing that it had subsequently been updated by another thread. The fix is the to poll the log for a few seconds until it is updated to the expected contents. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8355 ## How was this patch tested? Without the fix, I was able to reproduce the problem by running the test class 5 times repeatedly in intellij. With the fix, I was unable to reproduce the problem after running it in intellij 50 times. I also ran the CI 25 times without fail. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
