Fix TestBlockReaderLocal.
Change-Id: I3edfec1a5ed087a754ab36e58e4fe901ec6d2345
This commit is contained in:
parent
fa4dcdcf84
commit
800010489a
@ -17,8 +17,6 @@
|
||||
*/
|
||||
package org.apache.hadoop.hdfs.client.impl;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.equalTo;
|
||||
|
||||
import java.io.EOFException;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
@ -138,7 +136,7 @@ public void doTest(BlockReaderLocal reader, byte[] original, int shift)
|
||||
public void runBlockReaderLocalTest(BlockReaderLocalTest test,
|
||||
boolean checksum, long readahead, int shortCircuitCachesNum)
|
||||
throws IOException {
|
||||
Assumptions.assumeThat(DomainSocket.getLoadingFailureReason(), equalTo(null));
|
||||
Assertions.assertNull(DomainSocket.getLoadingFailureReason());
|
||||
MiniDFSCluster cluster = null;
|
||||
HdfsConfiguration conf = new HdfsConfiguration();
|
||||
conf.setBoolean(HdfsClientConfigKeys.Read.ShortCircuit.SKIP_CHECKSUM_KEY,
|
||||
|
Loading…
x
Reference in New Issue
Block a user