HDFS-7221. TestDNFencingWithReplication fails consistently. Contributed by Charles Lamb.

(cherry picked from commit ac56b0637e55465d3b7f7719c8689bff2a572dc0)