Fix TestSaslDataTransfer.
Change-Id: Ia54a79c4a0058c2fa280f55b3080a9fa7a3046a0
This commit is contained in:
parent
9ad0317212
commit
d90c32005c
@ -198,7 +198,7 @@ public void testNoSaslAndSecurePortsIgnored() throws Exception {
|
||||
private void doTest(HdfsConfiguration conf) throws IOException {
|
||||
fs = FileSystem.get(cluster.getURI(), conf);
|
||||
FileSystemTestHelper.createFile(fs, PATH, NUM_BLOCKS, BLOCK_SIZE);
|
||||
assertArrayEquals(FileSystemTestHelper.getFileData(NUM_BLOCKS, BLOCK_SIZE),
|
||||
assertEquals(FileSystemTestHelper.getFileData(NUM_BLOCKS, BLOCK_SIZE),
|
||||
DFSTestUtil.readFile(fs, PATH).getBytes("UTF-8"));
|
||||
BlockLocation[] blockLocations = fs.getFileBlockLocations(PATH, 0,
|
||||
Long.MAX_VALUE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user