amahussein opened a new pull request #3095:
URL: https://github.com/apache/hadoop/pull/3095


   HDFS-16061 DFTestUtil.waitReplication can produce false positives
   
   While checking the intermittent failure in 
`TestBalancerRPCDelay#testBalancerRPCDelayQpsDefault` described in HDFS-15146, 
I found that the implementation of waitReplication is incorrect.
   In the last iteration, when correctReplFactor is false, the thread sleeps 
for 1 second, then a TimeoutException is thrown without check whether the 
replication was complete in the last second.


-- 
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to