adoroszlai opened a new pull request #2314:
URL: https://github.com/apache/ozone/pull/2314


   ## What changes were proposed in this pull request?
   
   `TestOzoneManagerDoubleBufferWithOMResponse` is flaky because double buffer 
involves another thread.  `flushTransactions` updates 
`flushedTransactionCount`, then somewhat later also updates `lastAppliedIndex`. 
 The test waits for the former, but simply checks the latter with assertion.  
We need to wait for this update, too.
   
   https://issues.apache.org/jira/browse/HDDS-5318
   
   ## How was this patch tested?
   
   Repeated `TestOzoneManagerDoubleBufferWithOMResponse` 50x:
   https://github.com/adoroszlai/hadoop-ozone/runs/2771888499
   
   Regular CI (pending):
   https://github.com/adoroszlai/hadoop-ozone/actions/runs/918284218


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to