소스 검색

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 11 년 전
부모
커밋
5a33cdabd8
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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