adoroszlai opened a new pull request #1238: HDDS-1921. 
TestOzoneManagerDoubleBufferWithOMResponse is flaky
URL: https://github.com/apache/hadoop/pull/1238
 
 
   ## What changes were proposed in this pull request?
   
   Currently `testDoubleBuffer` waits for a specific transaction count and 
checks `lastAppliedIndex`, which is updated last in `flushTransactions` on 
another thread.  I guess this may be the cause of flakiness.  By swapping the 
order in the test, we ensure that when the wait is over, all operations 
(transaction count increase, etc.) are done.
   
   https://issues.apache.org/jira/browse/HDDS-1921
   
   ## How was this patch tested?
   
   Ran `TestOzoneManagerDoubleBufferWithOMResponse` a few times.

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


With regards,
Apache Git Services

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

Reply via email to