Revert "HDFS-13287. TestINodeFile#testGetBlockType results in NPE when run alone. Contributed by Virajith Jalaparti."
This reverts commit 49587e4df3e955466670384de867f690b557fe6e.
This commit is contained in:
parent
49587e4df3
commit
58c1920472
@ -296,7 +296,6 @@ public void testGetBlockType() {
|
||||
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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user