diff --git a/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml b/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml
index 69b2634d82..d97e8d70d0 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml
@@ -368,7 +368,8 @@
org.apache.maven.plugins
maven-surefire-plugin
- once
+ 1
+ true
600
${project.build.directory}/test-classes/krb5.conf
diff --git a/hadoop-tools/hadoop-distcp/pom.xml b/hadoop-tools/hadoop-distcp/pom.xml
index fe1681b48e..cce4e47210 100644
--- a/hadoop-tools/hadoop-distcp/pom.xml
+++ b/hadoop-tools/hadoop-distcp/pom.xml
@@ -128,7 +128,8 @@
org.apache.maven.plugins
maven-surefire-plugin
- always
+ 1
+ false
600
-Xmx1024m