Parcourir la source

HADOOP-9848 Addendum fixing OK_JAVADOC_WARNINGS in test-patch

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1513528 13f79535-47bb-0310-9956-ffa450edef68
Alejandro Abdelnur il y a 11 ans
Parent
commit
5a33cdabd8
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      dev-support/test-patch.sh

+ 3 - 0
dev-support/test-patch.sh

@@ -395,6 +395,9 @@ checkJavadocWarnings () {
   echo ""
   echo "There appear to be $javadocWarnings javadoc warnings generated by the patched build."
 
+  #There are 11 warnings that are caused by things that are caused by using sun internal APIs.
+  #There are 2 warnings that are caused by the Apache DS Dn class used in MiniKdc.
+  OK_JAVADOC_WARNINGS=13;
   ### if current warnings greater than OK_JAVADOC_WARNINGS
   if [[ $javadocWarnings -gt $OK_JAVADOC_WARNINGS ]] ; then
     JIRA_COMMENT="$JIRA_COMMENT