Browse Source

amendment to HADOOP-9112 fix return codes (Surenkumar Nihalani via bobby)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1448745 13f79535-47bb-0310-9956-ffa450edef68
Robert Joseph Evans 12 năm trước cách đây
mục cha
commit
c5296502ba
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      dev-support/test-patch.sh

+ 2 - 2
dev-support/test-patch.sh

@@ -370,12 +370,12 @@ checkTests () {
     JIRA_COMMENT="$JIRA_COMMENT
 
     {color:green}+1 tests included appear to have a timeout.{color}"
-	return 1
+	return 0
   fi
   JIRA_COMMENT="$JIRA_COMMENT
 
   {color:red}-1 one of tests included doesn't have a timeout.{color}"
-  return 0
+  return 1
 }
 
 cleanUpXml () {