Fix TestDistributedFileSystem.
Change-Id: I96b1cc10371a6a04d026c4bdd2d1f0ff1971714a
This commit is contained in:
parent
8ba43d9210
commit
fa4dcdcf84
|
@ -79,6 +79,7 @@ import org.apache.hadoop.fs.PathOperationException;
|
|||
import org.apache.hadoop.fs.RemoteIterator;
|
||||
import org.apache.hadoop.fs.StorageStatistics.LongStatistic;
|
||||
import org.apache.hadoop.fs.StorageType;
|
||||
import org.apache.hadoop.fs.contract.ContractTestUtils;
|
||||
import org.apache.hadoop.fs.permission.FsAction;
|
||||
import org.apache.hadoop.fs.permission.FsPermission;
|
||||
import org.apache.hadoop.hdfs.DistributedFileSystem.HdfsDataOutputStreamBuilder;
|
||||
|
@ -1783,7 +1784,7 @@ public class TestDistributedFileSystem {
|
|||
out1.write(contentOrigin);
|
||||
}
|
||||
|
||||
Assertions.verifyFileContents(fs, testFilePath,
|
||||
ContractTestUtils.verifyFileContents(fs, testFilePath,
|
||||
content.getBytes());
|
||||
|
||||
try (FSDataOutputStream out = fs.createFile(testFilePath).overwrite(false)
|
||||
|
|
Loading…
Reference in New Issue