Amend HDFS-3150 to fix TestMiniDFSCluster.java.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1373144 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3cdd6a9a2d
commit
997cd514c7
|
@ -142,7 +142,7 @@ public class TestMiniDFSCluster {
|
|||
.checkDataNodeHostConfig(true)
|
||||
.build();
|
||||
try {
|
||||
Assert.assertEquals("DataNode hostname config not respected", "MYHOST",
|
||||
assertEquals("DataNode hostname config not respected", "MYHOST",
|
||||
cluster5.getDataNodes().get(0).getDatanodeId().getHostName());
|
||||
} finally {
|
||||
MiniDFSCluster.shutdownCluster(cluster5);
|
||||
|
|
Loading…
Reference in New Issue