Revert "HDFS-13287. TestINodeFile#testGetBlockType results in NPE when run alone. Contributed by Virajith Jalaparti."

This reverts commit 36dc0810bf.
This commit is contained in:
Wei-Chiu Chuang 2019-06-19 06:55:08 -07:00
parent 36dc0810bf
commit 7e9b9e2a2e
1 changed files with 0 additions and 1 deletions

View File

@ -296,7 +296,6 @@ public class TestINodeFile {
preferredBlockSize = 128*1024*1024;
INodeFile inf = createINodeFile(replication, preferredBlockSize);
assertEquals(inf.getBlockType(), CONTIGUOUS);
ErasureCodingPolicyManager.getInstance().init(new Configuration());
INodeFile striped = createStripedINodeFile(preferredBlockSize);
assertEquals(striped.getBlockType(), STRIPED);
}