diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java index cf193c9767..3f6b2689f9 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java @@ -776,7 +776,7 @@ public void testMoveWithTargetPortEmpty() throws Exception { .format(true) .numDataNodes(2) .nameNodePort(ServerSocketUtil.waitForPort( - HdfsClientConfigKeys.DFS_NAMENODE_RPC_PORT_DEFAULT, 10)) + HdfsClientConfigKeys.DFS_NAMENODE_RPC_PORT_DEFAULT, 60)) .waitSafeMode(true) .build(); FileSystem srcFs = cluster.getFileSystem();