浏览代码

HDFS-11025. TestDiskspaceQuotaUpdate fails in trunk due to Bind exception. Contributed by Yiqun Lin

Brahma Reddy Battula 8 年之前
父节点
当前提交
73504b1bdc

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestDiskspaceQuotaUpdate.java

@@ -427,7 +427,7 @@ public class TestDiskspaceQuotaUpdate {
       testQuotaIssuesWhileCommittingHelper(nnSpy, (short) 1, (short) 1);
       testQuotaIssuesWhileCommittingHelper(nnSpy, (short) 1, (short) 1);
     } finally {
     } finally {
       for (MiniDFSCluster.DataNodeProperties dnprop : dnprops) {
       for (MiniDFSCluster.DataNodeProperties dnprop : dnprops) {
-        cluster.restartDataNode(dnprop, true);
+        cluster.restartDataNode(dnprop);
       }
       }
       cluster.waitActive();
       cluster.waitActive();
     }
     }