HDFS-12314. Typo in the TestDataNodeHotSwapVolumes.testAddOneNewVolume(). Contributed by Oleg Danilov.
This commit is contained in:
parent
d41310a15d
commit
54cdde38c7
|
@ -416,7 +416,7 @@ public class TestDataNodeHotSwapVolumes {
|
|||
minNumBlocks = Math.min(minNumBlocks, blockList.getNumberOfBlocks());
|
||||
maxNumBlocks = Math.max(maxNumBlocks, blockList.getNumberOfBlocks());
|
||||
}
|
||||
assertTrue(Math.abs(maxNumBlocks - maxNumBlocks) <= 1);
|
||||
assertTrue(Math.abs(maxNumBlocks - minNumBlocks) <= 1);
|
||||
verifyFileLength(cluster.getFileSystem(), testFile, numBlocks);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue