HDFS-10415. TestDistributedFileSystem#MyDistributedFileSystem attempts to set up statistics before initialize() is called (Mingliang Liu via cmccabe)

This commit is contained in:
Colin Patrick Mccabe 2016-05-31 16:54:52 -07:00
parent 83f2f78c11
commit 29d6cadc52
1 changed files with 0 additions and 1 deletions

View File

@ -359,7 +359,6 @@ public class TestDistributedFileSystem {
private static class MyDistributedFileSystem extends DistributedFileSystem { private static class MyDistributedFileSystem extends DistributedFileSystem {
MyDistributedFileSystem() { MyDistributedFileSystem() {
statistics = new FileSystem.Statistics("myhdfs"); // can't mock finals
dfs = mock(DFSClient.class); dfs = mock(DFSClient.class);
} }
@Override @Override